user-startup

Crates.iouser-startup
lib.rsuser-startup
version
sourcesrc
created_at2024-11-16 04:21:34.958213
updated_at2024-12-04 12:50:46.220497
descriptionSimple cross-platform tool to make your command auto run on startup
homepagehttps://github.com/lxl66566/user-startup-rs
repositoryhttps://github.com/lxl66566/user-startup-rs
max_upload_size
id1449948
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Absolutex (lxl66566)

documentation

README

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

Commit count: 9

cargo fmt