Adds an alias for a git url to be used with the clone command's '--alias' flag
There are many ways to use the alias command.
- 'clonr alias show': displays a list of available aliases
- 'clonr alias (-a|-u) --name=<alias_name> --url=<template_url> (-l)': sets the alias with the values you specified
- 'clonr alias (-a|-u) <alias_name> <template_url> (-l)'
- 'clonr alias (-a|-u) --name=<alias_name> <template_url> (-l)'
- 'clonr alias (-a|-u) <alias_name> --url=<template_url> (-l)'
- 'clonr alias (-a|-u)': walks you through a wizard to set the alias
- 'clonr alias -d ': walks you through a wizard for deleting the alias
- 'clonr alias -d <alias_name>' deletes the specified alias
- 'clonr alias -d --name=' deletes the specified alias
clonr alias [flags]
-a, --add Use this flag to add an alias to the list.
-d, --delete Use this flag to remove an alias from the list.
-h, --help help for alias
-l, --local Use this flag to indicate that an alias points to a local directory.
-n, --name string The name you want to use for your alias.
-u, --update Use this flag to update an alias already in the list.
--url string The url or local filepath that the alias represents.
- clonr - Clonr is a project templating CLI.
- clonr alias show - Displays all currently saved aliases