Skip to content
Permalink
Branch: master
Commits on Aug 18, 2014
  1. Fix usage formatting issue

    winny- committed Aug 18, 2014
Commits on Aug 14, 2014
  1. Update and clean up README.md

    winny- committed Aug 14, 2014
  2. Use consistent style

    winny- committed Aug 14, 2014
    Example:
    
    private String myFn(String myString, String anotherString) {
    	// Some code
    
    	return anotherString;
    }
  3. Reorganize command functions so they are always in one order

    winny- committed Aug 14, 2014
    upload
    delete
    download
    
    create-vault
    delete-vault
    inventory
    info
    list
Commits on Aug 13, 2014
  1. Add create-vault command & rename delete-vault command

    winny- committed Aug 13, 2014
    When building API's and CLI's I prefer to build my commands to be
    have reciprocal names, this way documentation isn't necessary to
    understand what a command does, exactly.
    
    Google agrees (enjoy, it's worth the entire hour!):
    
    How To Design A Good API and Why it Matters
    https://www.youtube.com/watch?v=heh4OeB9A-c
Commits on Aug 12, 2014
  1. Add -properties argument to specify the path of AwsCredentials.proper…

    winny- committed Aug 12, 2014
    …ties.
    
    I thought about adding -secretkey and -accesskey arguments, however stealing
    access data via /proc is rather easy, so why encourage it?
    
    Also updated README.md's usage text.
  2. Add -help flag & print usage on invalid flag

    winny- committed Aug 12, 2014
    Also removed the check for the properties file, as PropertiesCredentials does
    this for us and raises the appropriate exception.
  3. Write usage and errors to System.err

    winny- committed Aug 5, 2014
    This follows the behavior of uncaught exceptions, which are printed to
    standard error. See:
    https://stackoverflow.com/questions/11924348/where-are-unhandled-exceptions-in-command-line-java-application-printed-out-by-d
    
    This commit additionally fixs an usage formatting error where there
    are missing spaces in the list of possible glacier-cli commands.
Commits on Aug 1, 2014
  1. Indicate error with exit code

    winny- committed Aug 1, 2014
    This way, errors can be caught when using glacier-cli from a shell script
    or command line.
You can’t perform that action at this time.