[][src]Enum dirmux::options::Subcommands

pub enum Subcommands {
    Status(StatusOpts),
    Ffmerge(MergeOpts),
    Tag(TagOpts),
    Exec(ExecOpts),
    RawCommand(Vec<String>),
}

Variants

Status(StatusOpts)

Provides a compact git status

This subcommand prints a summary of the git status of all the directories. This by default will skip printing anything for directories that are on their normal branch and have no outstanding status items (modified files, untracked changes). The goal is to have a quick oversight of all your outstanding changes waiting for a commit.

Ffmerge(MergeOpts)

Fast-forward merges your branch from its upstream branch, if possible.

This subcommand will attempt a fast-forward merge for any git repositories which have changes to be merged. It will print a message if the merge is not a fast-forward.

Tag(TagOpts)

Manipulate the tagged directories

This provides a number of subcommands for manipulating which directories are tagged with which tags.

Exec(ExecOpts)

Execute an arbitrary shell command

This command is just here as a placeholder for the documentation, if the command doesn't overlap with any of dirmux's subcommand names, you may omit the 'exec' subcommand to have the same effect.

RawCommand(Vec<String>)

Any command is also allowed

Trait Implementations

impl Clone for Subcommands[src]

impl Debug for Subcommands[src]

impl PartialEq<Subcommands> for Subcommands[src]

impl StructOpt for Subcommands[src]

impl StructOptInternal for Subcommands[src]

impl StructuralPartialEq for Subcommands[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.