pub enum Command {
Show 26 variants
InheritEnv,
Workdir,
Workspace,
Env,
Echo,
Run,
Copy,
WithIo,
CopyGit,
HashSha256,
Symlink,
Mkdir,
Ls,
Cwd,
Read,
ReadLine,
Write,
Append,
Expand,
AssertEq,
AssertContains,
Exit,
Async,
Timeout,
Sleep,
ListAppend,
}Expand description
Core command vocabulary: every statement keyword the grammar accepts.
Multi-word commands group by domain prefix (CATEGORY_ACTION):
LIST_APPEND, READ_LINE, ASSERT_EQ, COPY_GIT. The first
underscore-separated segment is the category; introducing a command
under a new category means adding its prefix to
COMMAND_CATEGORIES below, so new groupings stay deliberate.
Single-word commands carry no category. Frozen names never change.
Variants§
InheritEnv
Workdir
Workspace
Env
Echo
Run
Copy
WithIo
CopyGit
HashSha256
Symlink
Mkdir
Ls
Cwd
Read
ReadLine
Write
Append
Expand
AssertEq
AssertContains
Exit
Async
Timeout
Sleep
ListAppend
Implementations§
Trait Implementations§
impl Copy for Command
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more