Skip to main content

INIT_EXAMPLES

Constant INIT_EXAMPLES 

Source
pub const INIT_EXAMPLES: &str = "\
EXAMPLES:
  devp init                       Register repositories under the current directory
  devp init --auto                Work out where the repositories are and register them
  devp init --auto --dry-run      Show what that would register, write nothing
  devp init ~/Code                Register everything under ~/Code
  devp init ~/Code ~/Work/oss     Multiple trees in one pass
  devp scan ~/Code                Same command — `scan` and `onboard` are aliases
  DEV_PRUNE_NO_AUTO_SETUP=1 devp init ~/Code
                                  Register repositories, install nothing

OPTING OUT:
  ignore.devprune.json            A file by that name in a repository keeps it out,
                                  both of a bulk scan and of every prune pass

UNDO:
  devp undo                       Reverts the most recent init or link";