Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.18 KB

README.md

File metadata and controls

55 lines (39 loc) · 1.18 KB

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