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

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

2

3 Core model:

4 Config := Map<String, Value>

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

6

7 The CLI structure is derived from the config schema.

8"""

9

10 __version__ = "0.1.0"

11

12 from nanocli.config import (

13 ConfigError,

14 compile_config,

15 load_yaml,

16 option,

17 parse_overrides,

18 save_yaml,

19 to_yaml,

20)

21 from 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]