mirror of
https://github.com/sagiegurari/duckscript
synced 2024-10-14 11:53:05 +00:00
Add array_add and array_put aliases to array_push
This commit is contained in:
parent
67ab71d93d
commit
0f4107c631
|
@ -11,6 +11,7 @@
|
|||
* New get_all_var_names command #100
|
||||
* New get_by_name command.
|
||||
* New set_by_name command.
|
||||
* Add array_add and array_put aliases to array_push
|
||||
* Runtime - Support for hashset state value.
|
||||
* \[Breaking Change\] Runtime - REPL mode doesn't stop due to crashes from user commands #103
|
||||
|
||||
|
|
|
@ -20,7 +20,11 @@ impl Command for CommandImpl {
|
|||
}
|
||||
|
||||
fn aliases(&self) -> Vec<String> {
|
||||
vec!["array_push".to_string()]
|
||||
vec![
|
||||
"array_push".to_string(),
|
||||
"array_add".to_string(),
|
||||
"array_put".to_string(),
|
||||
]
|
||||
}
|
||||
|
||||
fn help(&self) -> String {
|
||||
|
|
Loading…
Reference in a new issue