mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-08-24 16:32:32 +00:00
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
27 lines
499 B
Meson
27 lines
499 B
Meson
frontenddir = 'gradience/frontend'
|
|
|
|
configure_file(
|
|
input: 'gradience.in',
|
|
output: 'gradience',
|
|
configuration: conf,
|
|
install_dir: get_option('bindir')
|
|
)
|
|
|
|
configure_file(
|
|
input: 'gradience.in',
|
|
output: 'local-gradience',
|
|
configuration: local_conf
|
|
)
|
|
|
|
subdir('cli')
|
|
subdir('dialogs')
|
|
subdir('utils')
|
|
subdir('views')
|
|
subdir('widgets')
|
|
|
|
gradience_sources = [
|
|
'__init__.py',
|
|
'main.py',
|
|
'settings_schema.py'
|
|
]
|
|
PY_INSTALLDIR.install_sources(gradience_sources, subdir: frontenddir)
|