Skip to content

isharedx/tomono

 
 

Repository files navigation

tomono

A cli for migrating multi-repo to monorepo.

oclif Version Downloads/week License

Usage

$ npm install -g tomono
$ tomono COMMAND
running command...
$ tomono (-v|--version|version)
tomono/2.0.0-beta.6 darwin-x64 node-v14.17.6
$ tomono --help [COMMAND]
USAGE
  $ tomono COMMAND
...

Commands

tomono create

create a new monorepo when migrating

USAGE
  $ tomono create

OPTIONS
  -c, --config=config  specify the json(c) config file used for migrating, default "tomono.jsonc" if present, which can
                       be generated by "tomono serve"

  -h, --help           show CLI help

  -n, --no-tags        specify whether the remote repos' tags need to be backed up when migrating

See code: src/commands/create.ts

tomono help [COMMAND]

display help for tomono

USAGE
  $ tomono help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

tomono merge

merge specified branches into an existing monorepo

USAGE
  $ tomono merge

OPTIONS
  -c, --config=config  specify the json(c) config file used for migrating, default "tomono.jsonc" if present, which can
                       be generated by "tomono serve"

  -h, --help           show CLI help

  -n, --no-tags        specify whether the remote repos' tags need to be backed up when migrating

See code: src/commands/merge.ts

tomono serve

generate a template jsonc config file used for migrating

USAGE
  $ tomono serve

OPTIONS
  -h, --help       show CLI help
  -n, --name=name  specify the configuration file name, default "tomono.jsonc"

See code: src/commands/serve.ts

About

Multi- To Mono-repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.9%
  • Other 1.1%