Skip to content

LinkinStars/scmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scmd

Add a stop command for your Golang application.

Usage

import _ "github.com/LinkinStars/scmd"

Example

$ ./app stop
Try to find process by name [app]...
Find process [50406][app][./app run], stop it? yes(y)/no(n)
yes
The process has been stopped
  • app is your application name.
  • 50406 is pid.
  • scmd will find the process via filename by default, but you can specify the process name by ./app stop app-server.

About

Add a stop command to your go application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages