
* No longer dies if there are unknown flags. * Allows you to declare that you will use a flag from another file * Allows you to import new flags at runtime and reparses the original arguments to fill them once they are accessed.
6 lines
101 B
Python
6 lines
101 B
Python
from nova import flags
|
|
|
|
FLAGS = flags.FLAGS
|
|
|
|
flags.DEFINE_integer('runtime_answer', 54, 'test flag')
|