You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.
completeAt := comandante.NewCommand("completeat", "Run a completeat operation", runCompleteAt)
completeAt.FlagInit = completeAtFlagInit
bin.RegisterCommand(completeAt)
}
func completeAtFlagInit(fs *flag.FlagSet) {
fs.StringVar(&completeAtFlags.File.Name, "file", completeAtFlags.File.Name, "The file to use")
fs.UintVar(&completeAtFlags.Line, "line", completeAtFlags.Line, "The line to use")
fs.UintVar(&completeAtFlags.Column, "column", completeAtFlags.Column, "The column to use")
fs.BoolVar(&completeAtFlags.contents, "contents", completeAtFlags.contents, "If true, the contents of the file should be written to this process's stdin")
}
func runCompleteAt() error {
if completeAtFlags.contents {
if data, err := ioutil.ReadAll(os.Stdin); err != nil {