#startup #run-command #autostart #startup-script #startup-command #auto-run

bin+lib user-startup

Simple cross-platform tool to make your command auto run on startup

3 unstable releases

0.2.1 Feb 7, 2025
0.2.0 Dec 4, 2024
0.1.0 Nov 16, 2024

#1574 in Command line utilities

Download history 98/week @ 2024-11-13 14/week @ 2024-11-20 2/week @ 2024-11-27 146/week @ 2024-12-04 15/week @ 2024-12-11 3/week @ 2025-01-08 129/week @ 2025-02-05

130 downloads per month

MIT license

23KB
484 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–8MB
~56K SLoC