mirror of
https://github.com/nushell/nushell
synced 2025-01-21 01:24:33 +00:00
cde56741fb
# Updated description by @rgwood This PR changes `fetch` to `http get` and `post` to `http post`. `fetch` and `post` are now deprecated. [I surveyed people on Discord](https://discord.com/channels/601130461678272522/601130461678272524/1065706282566307910) and users strongly approved of this change. # Original Description This PR is related to #2741 and my first pull request in rust :) Implemented a new http mod to better http support and alias `fetch` and `post` commands to `http get` and `http post` respectively. # User-Facing Changes Users will be able to use HTTP method via http command, for example ``` shell > http get "https://www.example.com" <!doctype html> <html> ... ```
8 lines
110 B
Rust
8 lines
110 B
Rust
mod http;
|
|
mod port;
|
|
mod url;
|
|
|
|
pub use self::http::*;
|
|
pub use self::url::*;
|
|
|
|
pub use port::SubCommand as Port;
|