mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-09-13 08:02:32 +00:00
f0afbd817d
This commit adds a new CLI interface made using argparse library. Current status of CLI interface is very WIP, as it lacks logic for the majority of commands and doesn't work properly on Flatpak and local builds. Currently working commands: monet, version
14 lines
283 B
Meson
14 lines
283 B
Meson
clidir = 'gradience/frontend/cli'
|
|
|
|
configure_file(
|
|
input: 'cli.in',
|
|
output: 'gradience-cli',
|
|
configuration: conf,
|
|
install: true,
|
|
install_dir: get_option('bindir')
|
|
)
|
|
|
|
gradience_sources = [
|
|
'__init__.py'
|
|
]
|
|
PY_INSTALLDIR.install_sources(gradience_sources, subdir: clidir)
|