blob: 0a75ff3d8f94deb806ae41e286bcd09735f2e319 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package main
import ""
// cmdExitCode represents the exitcode command.
var cmdExitCode = &cmdline.Command{
Runner: cmdline.RunnerFunc(runExitCode),
Name: "exitcode",
Short: "Short description of command exitcode",
Long: "Long description of command exitcode.",
ArgsName: "[args]",
ArgsLong: "[args] are ignored",
func runExitCode(env *cmdline.Env, _ []string) error {
return cmdline.ErrExitCode(42)
func main() {