Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.49 KB

clonr_alias.md

File metadata and controls

41 lines (30 loc) · 1.49 KB

clonr alias

Adds an alias for a git url to be used with the clone command's '--alias' flag

Synopsis

There are many ways to use the alias command.

  1. 'clonr alias show': displays a list of available aliases
  2. 'clonr alias (-a|-u) --name=<alias_name> --url=<template_url> (-l)': sets the alias with the values you specified
  3. 'clonr alias (-a|-u) <alias_name> <template_url> (-l)'
  4. 'clonr alias (-a|-u) --name=<alias_name> <template_url> (-l)'
  5. 'clonr alias (-a|-u) <alias_name> --url=<template_url> (-l)'
  6. 'clonr alias (-a|-u)': walks you through a wizard to set the alias
  7. 'clonr alias -d ': walks you through a wizard for deleting the alias
  8. 'clonr alias -d <alias_name>' deletes the specified alias
  9. 'clonr alias -d --name=' deletes the specified alias
clonr alias [flags]

Options

  -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.

SEE ALSO

Auto generated by spf13/cobra on 13-Nov-2021