Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mdk alias help could show some examples #61

Open
danpoltawski opened this issue Nov 4, 2013 · 2 comments
Open

mdk alias help could show some examples #61

danpoltawski opened this issue Nov 4, 2013 · 2 comments

Comments

@danpoltawski
Copy link
Contributor

I always forget how I am supposed to specify the commands (do they include an mdk in it it or what?). I think it'd be helpful to show an example command adding an alias.

@FMCorz
Copy link
Owner

FMCorz commented Nov 5, 2014

Isn't this enough:

    // Aliases for MDK commands.
    // An alias starting with a ! will be executed through the command line. Those also
    // can use placeholders for arguments: $1, $2, ...
    // Examples:
    //   "upall": "update --all". `mdk upall` will execute `mdk update --all`
    //   "ls": "!ls -al". `mdk ls` will execute `ls -al`
    "aliases": {
        "check": "doctor",
        "list": "info -l",
        "theme": "!mdk info -v theme -e $1 $2"
    }

From config-dist.json

@danpoltawski
Copy link
Contributor Author

On my mac, config-dist.json isn't in an easy to find place - so no, its not as convenient as --help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants