Jobs & Workflows https://armen.surge.sh
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

42 lines
909 B

/*
------------------------------------------------------------------------------------------------------------------------
####### cli ####### Copyright (c) 2021 mls-361 ##################################################### MIT License #######
------------------------------------------------------------------------------------------------------------------------
*/
package cli
import (
"os"
"forge.chapril.org/armen/armen/internal/components"
)
func jobCreate(ccs *components.Components) error {
if len(os.Args) < 4 {
help()
return _errArgs
}
return nil
}
func jobs(ccs *components.Components) error {
if len(os.Args) < 3 {
help()
return _errArgs
}
switch os.Args[2] {
case "create", "-c":
return jobCreate(ccs)
default:
help()
}
return nil
}
/*
######################################################################################################## @(°_°)@ #######
*/