Struct up_rs::args::Args[][src]

pub struct Args {
    pub log_level: Level,
    pub log_dir: Option<PathBuf>,
    pub file_log_level: Level,
    pub color: Color,
    // some fields omitted
}

Up is a tool to help you manage your developer machine. When run by itself (up) runs the tasks defined in its config directory. It links configuration files into the right locations, and it runs scripts to make sure the tools you need are installed and up to date.

Running up without a subcommand runs up run with no parameters, providing an easy way to specify what you want on your system, and how to keep it up to date. It is designed to work with and complement existing package managers rather than replace them.

There are also a number of libraries built into up, that can be accessed directly, e.g. up link to link dotfiles.

Fields

log_level: Level

Set the logging level explicitly (options: Off, Error, Warn, Info, Debug, Trace).

log_dir: Option<PathBuf>

Write file logs to directory. Default: $TMPDIR/up-rs/logs. Set to empty to disable file logging.

file_log_level: Level

Set the file logging level explicitly (options: Off, Error, Warn, Info, Debug, Trace).

color: Color

Whether to color terminal output.

Trait Implementations

impl Debug for Args[src]

impl StructOpt for Args[src]

impl StructOptInternal for Args[src]

Auto Trait Implementations

impl RefUnwindSafe for Args

impl Send for Args

impl Sync for Args

impl Unpin for Args

impl UnwindSafe for Args

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

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.