2015-07-24 00:57:56 +00:00
|
|
|
from a_helper import parser
|
2011-08-02 23:06:29 +00:00
|
|
|
|
|
|
|
var = 0
|
2015-05-30 00:03:28 +00:00
|
|
|
|
|
|
|
|
2013-06-15 22:10:53 +00:00
|
|
|
def start(ctx, argv):
|
2013-06-13 14:04:04 +00:00
|
|
|
global var
|
2013-06-15 22:10:53 +00:00
|
|
|
var = parser.parse_args(argv[1:]).var
|
2013-06-13 14:04:04 +00:00
|
|
|
|
2015-05-30 00:03:28 +00:00
|
|
|
|
2011-08-02 23:06:29 +00:00
|
|
|
def here(ctx):
|
|
|
|
global var
|
|
|
|
var += 1
|
|
|
|
return var
|
|
|
|
|
2015-05-30 00:03:28 +00:00
|
|
|
|
2011-08-02 23:06:29 +00:00
|
|
|
def errargs():
|
|
|
|
pass
|