code: func cmdCreate(params Parameters) *subcommands.Command {
  	return &subcommands.Command{
  		UsageLine: "create [options]",
  		ShortDesc: "builds and uploads a package instance file",
  		LongDesc:  "Builds and uploads a package instance file.",
  		CommandRun: func() subcommands.CommandRun {
  			c := &createRun{}
  			c.registerBaseFlags()
  			c.Opts.inputOptions.registerFlags(&c.Flags)
  			c.Opts.refsOptions.registerFlags(&c.Flags)
  			c.Opts.tagsOptions.registerFlags(&c.Flags)
  			c.Opts.clientOptions.registerFlags(&c.Flags, params, withoutRootDir)
  			c.Opts.uploadOptions.registerFlags(&c.Flags)
  			c.Opts.hashOptions.registerFlags(&c.Flags)
  			return c
  		},
  	}
  }
docs: ////////////////////////////////////////////////////////////////////////////////
  // 'create' subcommand.