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

Adding ability to add nested commands through cobra add #273

Closed
wants to merge 10 commits into from
Closed

Adding ability to add nested commands through cobra add #273

wants to merge 10 commits into from

Commits on Apr 28, 2016

  1. Working on #266: Ability to add nested commands

    * Modified `cobra add` command to be able to parse argument into nested command structure
    * Modified `createCmdFile` function to accept cmdPath
    * Modified cmdFile template to specify package name and to TitleCase
      command names so that they can be accessed by child packages.
    * Simplified `writeTemplateToFile` function so that just the file path
      is passed instead of base path and filename.
    Ian Walter committed Apr 28, 2016
    Configuration menu
    Copy the full SHA
    a6cbaf6 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2016

  1. Checking if cmd file exists before trying to create it

    Ian Walter committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    b4c7072 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2016

  1. Configuration menu
    Copy the full SHA
    ecbac3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    034973c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    274ca84 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    784ab4d View commit details
    Browse the repository at this point in the history

Commits on May 4, 2016

  1. Fixing addCmd templating and finishing #266

    Ian Walter committed May 4, 2016
    Configuration menu
    Copy the full SHA
    02a0b7d View commit details
    Browse the repository at this point in the history
  2. Making buildPath arg more descriptive

    Ian Walter committed May 4, 2016
    Configuration menu
    Copy the full SHA
    7e28852 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2016

  1. Configuration menu
    Copy the full SHA
    22e4fd4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    36bbf32 View commit details
    Browse the repository at this point in the history