daniijal / starman

A simple yet intuitive cli app for managing startup applications on windows.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STARMAN - A Simple Tool for managing start up applications

     _
 ___| |_ __ _ _ __ _ __ ___   __ _ _ __
/ __| __/ _` | '__| '_ ` _ \ / _` | '_ \
\__ \ || (_| | |  | | | | | | (_| | | | |
|___/\__\__,_|_|  |_| |_| |_|\__,_|_| |_|

v0.1.4

A simple yet intuitive cli tool for managing windows start up applications.

Install

 go install github.com/elliot40404/starman@latest

Just run the below command in powershell

 iwr tinyurl.com/sstarman -OutFile $pwd\starman.exe

Find latest Release Here

Or just download the binary from releases page and put it in your PATH.

Features

  • Add an application to startup
  • Remove an application from startup
  • List all applications in startup
  • Enable or disable an application from startup
  • Enable or Disable starman startup
  • Set delay time for startup

Usage

Available Commands

    starman add <app_name>
    starman rm <app_name>
    starman ls
    starman enable <app_name>
    starman disable <app_name>
    starman start
    starman stop
    starman delay
    starman delay <delay_time>
    starman run <app_name>
    starman help

Add an application to startup

add is also aliased as a

starman add <app_name> <app_path>
starman a <app_name> <app_path>

Remove an application from startup

starman rm <app_name>

List all applications in startup

ls is also aliased as l

$ starman l
$ starman ls
┌─────────┬─────────┬────────────────────────────────────────┐
│ NAME    │ STATUS  │ PATH                                   │
├─────────┼─────────┼────────────────────────────────────────┤
│ SPOTIFY │ Enabled │ "C:\Users\Avishek\Desktop\Spotify.exe" │
└─────────┴─────────┴────────────────────────────────────────┘

Enable an application from startup

enable is also aliased as e

starman enable <app_name>
starman e <app_name>

Disable an application from startup

disable is also aliased as d

starman disable <app_name>
starman d <app_name>

Stop starman from running at startup

starman stop

Start starman to run at startup

starman start

Check current delay time for startup

starman delay

Set delay time for startup

delay time is in seconds. Default is 30 seconds

starman delay <delay_time>

Run app using starman

run is also aliased as r

starman run <app_name>
starman r <app_name>

Defaults

  • Default delay time is 10 seconds
  • Config file location is HOMEDIR/.sm/sm_startup.bat
  • LOG file location is HOMEDIR/.sm/sm_startup.log

LICENSE

GPL-3.0

About

A simple yet intuitive cli app for managing startup applications on windows.

License:GNU General Public License v3.0


Languages

Language:Go 100.0%