Crates.io | axolotl_git |
lib.rs | axolotl_git |
version | 0.3.2 |
source | src |
created_at | 2024-01-25 03:20:24.982425 |
updated_at | 2024-04-17 23:53:01.569555 |
description | project management cli |
homepage | |
repository | https://github.com/pitoniak32/axolotl_git |
max_upload_size | |
id | 1113397 |
size | 155,269 |
A repo management cli that will allow your projects to grow, and regenerate like an axolotl!
(Requires tmux, and fzf for majority of features)
(Currently not supported on windows)
cargo install --locked axolotl_git
Download a release from here, and add it to a directory on your path.
Add a projects directory file
example:
path: ~/.config/axl/personal_projects.yml
projects_directory: "/path/to/your/Projects"
include:
- /path/to/group/file.yml
- remote: git@github.com:your_github/your_project.git
tags: [test_tag]
- remote: git@github.com:your_github/your_other_project.git
name: renamed_project
Now let axl
know you would like to use this file with:
export AXL_PROJECTS_CONFIG_PATH=~/.config/axl/personal_projects.yml
--projects-config-path=~/.config/axl/personal_projects.yml
Check the available commands
$ axl --help
project management cli
Usage: axl [OPTIONS] <COMMAND>
Commands:
project Commands for managing projects
help Print this message or the help of the given subcommand(s)
Options:
-v, --verbose... Increase logging verbosity
-q, --quiet... Decrease logging verbosity
-c, --config-path <CONFIG_PATH> Override '$XDG_CONFIG_HOME/axl/config.yml' or '$HOME/.axlrc.yml' defaults [env: AXL_CONFIG_PATH=]
-h, --help Print help
-V, --version Print version
fzf
custom prompts like zoxide.This cli is instrumented with tokio tracing. If you increase the verbosity of the cli you will see more logs with details that can help with troubleshooting.
To modify the verbosity of the logs, use:
-v
or -q
for the console output.RUST_LOG=<trace,debug,info,warn,error>
for the traces that are shipped to the optional OTEL collector. (see this for more advanced options)By default the otel collector layer is not added. If you would like traces to be exported to a collector, you should set the environment variable OTEL_COLLECTOR_URL
to a url where your collector is running. This will configure the cli to export your traces with otlp to your collector. They can then be shipped out to any exporter of your choosing.
You can try this with the docker-compose.yml
, and otel-collector-config.yml
files in this repo.
docker-compose up -d
.OTEL_COLLECTOR_URL=http://localhost:4317/v1/traces axl project open -m tmux -vvvv
.http://localhost:16686/search
in your browser.