mirror of
https://github.com/nushell/nushell.git
synced 2025-04-26 14:18:19 +02:00
Fix: add missing bind commands (#477)
* chore(random): update naming convention * fix: add missing bind commands
This commit is contained in:
parent
34a8a897c5
commit
6f53912655
@ -227,9 +227,24 @@ pub fn create_default_context() -> EngineState {
|
|||||||
MathVariance,
|
MathVariance,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Network
|
||||||
|
bind_command! {
|
||||||
|
Url,
|
||||||
|
UrlHost,
|
||||||
|
UrlPath,
|
||||||
|
UrlQuery,
|
||||||
|
UrlScheme,
|
||||||
|
}
|
||||||
|
|
||||||
// Random
|
// Random
|
||||||
bind_command! {
|
bind_command! {
|
||||||
Random,
|
Random,
|
||||||
|
RandomBool,
|
||||||
|
RandomChars,
|
||||||
|
RandomDecimal,
|
||||||
|
RandomDice,
|
||||||
|
RandomInteger,
|
||||||
|
RandomUuid,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Generators
|
// Generators
|
||||||
|
@ -6,10 +6,10 @@ mod dice;
|
|||||||
mod integer;
|
mod integer;
|
||||||
mod uuid;
|
mod uuid;
|
||||||
|
|
||||||
pub use self::bool::SubCommand as Bool;
|
pub use self::bool::SubCommand as RandomBool;
|
||||||
pub use self::chars::SubCommand as Chars;
|
pub use self::chars::SubCommand as RandomChars;
|
||||||
pub use self::decimal::SubCommand as Decimal;
|
pub use self::decimal::SubCommand as RandomDecimal;
|
||||||
pub use self::dice::SubCommand as Dice;
|
pub use self::dice::SubCommand as RandomDice;
|
||||||
pub use self::integer::SubCommand as Integer;
|
pub use self::integer::SubCommand as RandomInteger;
|
||||||
pub use self::uuid::SubCommand as Uuid;
|
pub use self::uuid::SubCommand as RandomUuid;
|
||||||
pub use command::RandomCommand as Random;
|
pub use command::RandomCommand as Random;
|
||||||
|
Loading…
Reference in New Issue
Block a user