Commit 5c818737 authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

fix command name

parent f892c0fe
Loading
Loading
Loading
Loading
+2
Changes for README.md: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
# CLIMAX

## Install

```
 Utilisation: climax [OPTIONS] COMMAND [ARGS]...                                            
                                                                                            
+1 −1
Changes for pyproject.toml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
[project]
name = "climax-CERTIC"
version = "0.1.0"
version = "0.1.3"
description = "CLI tool for MaX, Le Moteur d'Affichage XML."
readme = "README.md"
license = {text = "CECILL-C"}
+1 −2
Changes for src/climax/__main__.py: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -426,7 +426,6 @@ def _sync_bundles(root_directory: Path):
    config = MaXProjectConfig(Path(root_directory, "config.xml"))
    # then activate or install what is in config file
    for bundle_name, bundle in config.bundles.items():
        print(bundle_name)
        bundle_dir = Path(bundles_dir, bundle_name)
        if os.path.isdir(bundle_dir):
            Path(bundle_dir, ignore_file).unlink(missing_ok=True)
@@ -584,7 +583,7 @@ def new(
    ensure_max_distro()
    root_directory, is_max = ensure_available_max_directory(directory)
    if is_max:
        print(_("Le dossier contient une instance de MaX. Utiliser la commande init"))
        print(_("Le dossier contient une instance de MaX. Utiliser la commande sync"))
        raise typer.Exit()
    else:
        _install_new_max_instance(root_directory)