2 unstable releases
0.2.0 | Dec 4, 2024 |
---|---|
0.1.0 | Nov 16, 2024 |
#1203 in Command line utilities
212 downloads per month
19KB
400 lines
user-startup-py
Just auto run command on startup. Support Windows, Linux and Macos, no root permission required.
Installation
- Download from Releases
- use bpm
bpm i lxl66566/user-startup-rs
- use cargo-binstall
cargo binstall user-startup
- use cargo (compile from source)
cargo install user-startup
Usage / Examples
# Add a new startup command
user-startup add 'my command'
# List all startup commands and their ids
user-startup list
# Remove startup commands (by id)
user-startup remove 'my'
# Open the startup folder
user-startup open
to see more Usage, run user-startup -h
.
Use as lib
[dependencies]
user-startup = { version = "0.1.0", default-features = false }
see tests.
QA
- Q: If I have more than one line command, how to run them?
- A: Manually write the commands to a script (.bat, .ps1, .sh ...), and runs this script as a command.
Thanks
Dependencies
~0.1–11MB
~67K SLoC