lukeed / taskr

A fast, concurrency-focused task automation tool.
MIT License
2.53k stars 74 forks source link

Rename CLI flag from --pwd to --cwd #251

Closed lukeed closed 7 years ago

lukeed commented 7 years ago

Using cwd as an directory designator makes more sense that pwd.

Short aliases also updated from p to d, for directory.

New fly -h looks like this:

Usage
  fly [options] [tasks]

Options
  -m  --mode=""  Run in "parallel" or "serial". Default: "serial"
  -d  --cwd=""   Set Fly's home directory. Default: "."
  -h  --help     Display this help message.
  -l  --list     Display available tasks.
  -v  --version  Display Fly version.

Examples
  fly -d="/demo"
  fly -m=parallel task1 task2
  fly --mode="serial" task1 task2

I was the one who named "pwd"; my mistake.

lukeed commented 7 years ago

I canceled the AppVeyor test because it was a duplicate.