Changeset - e5cb0a4e061a
[Not reviewed]
Bradley M. Kuhn - 11 years ago 2014-07-03 01:03:47
bkuhn@sfconservancy.org
Change command line tool config location to .config/kallithea
3 files changed with 2 insertions and 3 deletions:
0 comments (0 inline, 0 general)
.hgignore
Show inline comments
 
@@ -20,8 +20,7 @@ syntax: regexp
 
^\.coverage$
 
^rhodecode\.db$
 
^test\.db$
 
^RhodeCode\.egg-info$
 
^rc.*\.ini$
 
^fabfile.py
 
^\.rhodecode$
 
^\.idea$
rhodecode/bin/base.py
Show inline comments
 
@@ -34,13 +34,13 @@ try:
 
except ImportError:
 
    try:
 
        import simplejson as json
 
    except ImportError:
 
        import json
 

	
 
CONFIG_NAME = '.rhodecode'
 
CONFIG_NAME = '.config/kallithea'
 
FORMAT_PRETTY = 'pretty'
 
FORMAT_JSON = 'json'
 

	
 

	
 
def api_call(apikey, apihost, method=None, **kw):
 
    """
rhodecode/bin/rhodecode_gist.py
Show inline comments
 
@@ -45,13 +45,13 @@ def argparser(argv):
 
                                     usage=usage)
 

	
 
    ## config
 
    group = parser.add_argument_group('config')
 
    group.add_argument('--apikey', help='api access key')
 
    group.add_argument('--apihost', help='api host')
 
    group.add_argument('--config', help='config file path DEFAULT: ~/.rhodecode')
 
    group.add_argument('--config', help='config file path DEFAULT: ~/.config/kallithea')
 
    group.add_argument('--save-config', action='store_true',
 
                       help='save the given config into a file')
 

	
 
    group = parser.add_argument_group('GIST')
 
    group.add_argument('-p', '--private', action='store_true',
 
                       help='create private Gist')
0 comments (0 inline, 0 general)