An application that simplifies the life of an application developer for the Aurora OS.
Project description
Aurora CLI 2.0
An application that simplifies the life of an application developer for the Aurora OS.
Features
- sdk
- available - Get available version Aurora SDK.
- install - Download and run install Aurora SDK.
- installed - Get version installed Aurora SDK.
- tool - Run maintenance tool (remove, update).
- psdk
- available - Get available version Aurora Platform SDK.
- install - Download and install Aurora Platform SDK.
- installed - Get installed list Aurora Platform SDK.
- remove - Remove installed Aurora Platform SDK.
- sudoers - Add/Del sudoers permissions Aurora Platform SDK.
- sign - Sign (with re-sign) RPM package.
- validate - Validate RPM packages.
- sdk-install - Install RPM packages to target.
- sdk-remove - Remove package from target.
- list-targets - Get list targets Aurora Platform SDK.
- flutter
- available - Get available versions flutter.
- install - Install Flutter SDK for Aurora OS.
- installed - Get installed list Flutter SDK.
- remove - Remove Flutter SDK.
- device
- available - Get available devices from configuration.
- command - Execute the command on the device.
- upload - Upload file to ~/Download directory device.
- install - Install RPM package on device.
- run - Run package on device in container.
- emulator
- available - Get available emulator.
- start - Start emulator.
- command - Execute the command on the emulator.
- upload - Upload file to ~/Download directory emulator.
- install - Install RPM package on emulator.
- run - Run package on emulator in container.
Usage
Install dependencies
# Update
sudo apt update
# Install dependencies
sudo apt install python3-pip git git-lfs curl tar unzip bzip2
Method 1
The standard way to distribute python packages.
python3 -m pip install aurora-cli
Method 2
This method is as simple as possible - the entire application is in a pyz file.
# Create folder
mkdir ~/.local/opt
# Download
wget -x https://github.com/keygenqt/aurora-cli/raw/main/builds/aurora-cli-2.1.0.pyz \
-O ~/.local/opt/aurora-cli.pyz
# Add alias to ~/.bashrc
alias aurora-cli='python3 ~/.local/opt/aurora-cli.pyz'
# Update environment
source ~/.bashrc
Method 3
This method is suitable for development.
# Create folder
mkdir -p ~/.local/opt/aurora-cli
# Clone project
git clone https://github.com/keygenqt/aurora-cli.git ~/.local/opt/aurora-cli
# Open folder project
cd ~/.local/opt/aurora-cli
# Init environment
virtualenv .venv
# Open environment
source .venv/bin/activate
# Install requirements
pip install -r requirements.txt
# Deactivate environment
deactivate
# Add alias to ~/.bashrc
alias aurora-cli='_cli() { (cd ~/.local/opt/aurora-cli && .venv/bin/python -m aurora_cli "$@"); } && _cli'
# Update environment
source ~/.bashrc
License
Copyright 2024 Vitaliy Zarubin
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aurora-cli-2.1.0.tar.gz
(21.8 kB
view hashes)
Built Distribution
aurora_cli-2.1.0-py3-none-any.whl
(36.2 kB
view hashes)
Close
Hashes for aurora_cli-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d27ccceb6a84b91b6dfb25770ff0c3c49a371921a931253e39026504e46ad5c |
|
MD5 | 0e3c7847d7acd33927ac71492784face |
|
BLAKE2b-256 | 8e5ba049feb15c23a70f7554f1ccc91da246f98b276be8ef6b33b733a8f85c8d |