microplane icon indicating copy to clipboard operation
microplane copied to clipboard

minor bug: mp automatically makes mp folder when running mp -h

Open caleb15 opened this issue 2 years ago • 0 comments

reproduction steps: mp -h Expected result: No side-effect Actual result: Side-effect. A folder "mp" is created.

➜  a git:(master) ✗ ls -la
total 8
drwxr-xr-x 2 caleb caleb 4096 Mar 26 20:30 .
drwxr-xr-x 6 caleb caleb 4096 Mar 26 20:28 ..
➜  a git:(master) ✗ mp -h
Microplane makes git changes across many repos

Usage:
  mp [command]

Available Commands:
  clone       Clone all repos targeted by init
  docs        Generates markdown docs for each command
  help        Help about any command
  init        Initialize a microplane workflow
  merge       Merge pushed changes
  plan        Plan changes by running a command against cloned repos
  push        Push planned changes
  status      Status shows a workflow's progress
  sync        Sync workflow status with remote repo
  version     Print the current microplane version

Flags:
  -h, --help          help for mp
  -r, --repo string   single repo to operate on

Use "mp [command] --help" for more information about a command.
➜  a git:(master) ✗ ls
mp

version: latest. OS: Ubuntu 20 on WSL2

caleb15 avatar Mar 27 '22 03:03 caleb15