Code Monkey home page Code Monkey logo

starman's Introduction

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

starman's People

Contributors

elliot40404 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.