github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/kbfs/kbpagesconfig/main.go (about)

     1  // Copyright 2018 Keybase Inc. All rights reserved.
     2  // Use of this source code is governed by a BSD
     3  // license that can be found in the LICENSE file.
     4  
     5  package main
     6  
     7  import (
     8  	"os"
     9  
    10  	"github.com/urfave/cli"
    11  )
    12  
    13  func main() {
    14  	app := cli.NewApp()
    15  	app.Name = "kbpagesconfig"
    16  	app.Usage = "edit or create .kbp_config files for Keybase Pages"
    17  	app.Flags = []cli.Flag{
    18  		cli.StringFlag{
    19  			Name:  "dir, d",
    20  			Value: ".",
    21  			Usage: "path to a dir where .kbp_config is or will be created",
    22  		},
    23  	}
    24  	app.Commands = []cli.Command{
    25  		userCmd,
    26  		perPathCmd,
    27  		upgradeCmd,
    28  	}
    29  
    30  	_ = app.Run(os.Args)
    31  }