mikister / gitsync

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gitsync

oclif Version Downloads/week License

Usage

$ npm install -g @mikister/gitsync
$ gitsync COMMAND
running command...
$ gitsync (-v|--version|version)
@mikister/gitsync/0.0.3 linux-x64 node-v15.11.0
$ gitsync --help [COMMAND]
USAGE
  $ gitsync COMMAND
...

Commands

gitsync add [NAME]

USAGE
  $ gitsync add [NAME]

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

EXAMPLE
  $ gitsync add parent_folder/repo_name
  creating repo repo_name in /path/to/homedir/projects/parent_folder

See code: src/commands/add.ts

gitsync check [PATH]

USAGE
  $ gitsync check [PATH]

OPTIONS
  -g, --noGit  Check for all directories that aren't a git repo
  -h, --help   show CLI help

EXAMPLE
  $ gitsync check
  checking all repos

  $ gitsync check specific/repo
  checking specific/repo

See code: src/commands/check.ts

gitsync config SUBCOMMAND [VALUE]

USAGE
  $ gitsync config SUBCOMMAND [VALUE]

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

EXAMPLE
  $ gitsync edit projectsHome=~/newProjectsHome
  > Set projectsHome to /home/<user>/newProjectsHome

  $ gitsync list
  > Listing all config options

  $ gitsync setup
  > Creating a default gitsync config

See code: src/commands/config.ts

gitsync hello [FILE]

USAGE
  $ gitsync hello [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

EXAMPLE
  $ gitsync hello
  hello world from ./src/hello.ts!

See code: src/commands/hello.ts

gitsync help [COMMAND]

USAGE
  $ gitsync help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

gitsync list

USAGE
  $ gitsync list

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ gitsync list
  repo 1
  repo 2

See code: src/commands/list.ts

gitsync track [REPO] [PATH]

USAGE
  $ gitsync track [REPO] [PATH]

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

EXAMPLE
  $ gitsync track owner/repo path/where/to/track
  tracking owner/repo in path/where/to/track

See code: src/commands/track.ts

About


Languages

Language:TypeScript 95.8%Language:Makefile 2.4%Language:JavaScript 1.6%Language:Batchfile 0.1%