Coverage for src / nanocli / __init__.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.13.0, created at 2025-12-19 03:47 -0500

1"""NanoCLI - CLI framework derived from config schema. 

2 

3Core model: 

4 Config := Map<String, Value> 

5 Value := Scalar | Config | List<Value> 

6 

7The CLI structure is derived from the config schema. 

8""" 

9 

10__version__ = "0.1.0" 

11 

12from nanocli.config import ( 

13 ConfigError, 

14 compile_config, 

15 load_yaml, 

16 option, 

17 parse_overrides, 

18 save_yaml, 

19 to_yaml, 

20) 

21from nanocli.core import NanoCLI, group, run 

22 

23__all__ = [ 

24 # Core 

25 "NanoCLI", 

26 "group", 

27 "run", 

28 # Config 

29 "option", 

30 "compile_config", 

31 "load_yaml", 

32 "save_yaml", 

33 "to_yaml", 

34 "parse_overrides", 

35 "ConfigError", 

36]