forked from extern/nushell
Port rotate (#880)
* Add rotate command * Add rotate counter clockwise * Fix comments in the code * Fix clippy warnings * Fix comment * Fix wrong step for non even table sizes * Fix comment for moving through array * Refactor rotate and have only one command with a --ccw flag for counter-clockwise rotation. By default, rotate is clockwise * Update usage description
This commit is contained in:
committed by
GitHub
parent
44821d9941
commit
3c8716873e
@ -87,6 +87,7 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
|
||||
Reject,
|
||||
Rename,
|
||||
Reverse,
|
||||
Rotate,
|
||||
Select,
|
||||
Shuffle,
|
||||
Skip,
|
||||
|
Reference in New Issue
Block a user