osl-incubator / sugar

Simplify the usage of containers
https://osl-incubator.github.io/sugar/
BSD 3-Clause "New" or "Revised" License
7 stars 8 forks source link

Update README according new sugar specs #109

Open esloch opened 10 months ago

esloch commented 10 months ago

Description

The sugar specifications example does not correspond to the new release.

What I Did

$ sugar build
Traceback (most recent call last):
  File "/home/esloch/miniforge/envs/alertadengue/bin/sugar", line 8, in <module>
    sys.exit(app())
  File "/home/esloch/miniforge/envs/alertadengue/lib/python3.10/site-packages/sugar/cli.py", line 166, in app
    sugar = Sugar(args_cast, options_args, cmd_args)
  File "/home/esloch/miniforge/envs/alertadengue/lib/python3.10/site-packages/sugar/sugar.py", line 543, in __init__
    super().__init__(args, options_args, cmd_args)
  File "/home/esloch/miniforge/envs/alertadengue/lib/python3.10/site-packages/sugar/sugar.py", line 68, in __init__
    self._load_defaults()
  File "/home/esloch/miniforge/envs/alertadengue/lib/python3.10/site-packages/sugar/sugar.py", line 218, in _load_defaults
    for k, v in _defaults.items():
AttributeError: 'list' object has no attribute 'items'