1.6.10 • Published 3 years ago

@plasmo-corp/mf v1.6.10

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Mirror Force

First, have a file named mf.md OR a name of your choice (you will need to supply it as the first arg of the cli). This file should contain a list of links to the git/github repos you would like to clone, separated by new line.

mf will sanitize each line of input, thus it can tolerate a couple of format, including no host uri (e.g hello/weird). If no host is provided, github.com will be the fallback. Example:

hello/howdy

- [ ] hello/weird
- https://github.com/hello/hi

Make sure the current directory is where you would like all of the repository to be cloned. Then, invoke mf as follow:

pnpm dlx @plasmo-corp/mf

# OR

npx @plasmo-corp/mf

Optionally, you can specify a custom input file:

npx @plasmo-corp/mf my-input-file.txt

Argument flags

  -h, --help string            Print this usage guide.
  -i, --input file             The file to process. Can be absolute or relative path. Default: mf.md
  -r, --remote string          The organization name the new remote should point to. Default: plasmo-corp
  -o, --output-dir directory   The directory where the Git repos are stored. Default: ./

Development

npm i
pnpm link --global # OR npm link

npm run watch

---
# in another terminal

mf

Publish process

  1. Commit any changes to the repository.
  2. npm version patch | minor | major
  3. npm publish
1.6.9

3 years ago

1.6.8

3 years ago

1.6.10

3 years ago

1.6.7

3 years ago

1.6.6

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.0.0

3 years ago