(path string, memberID string)
| 896 | } |
| 897 | |
| 898 | func jsonErrorExampleCommandWithAsMember(path string, memberID string) *cobra.Command { |
| 899 | cmd := jsonErrorExampleCommand(path) |
| 900 | cmd.Flags().String("as-member", "", "") |
| 901 | _ = cmd.Flags().Set("as-member", memberID) |
| 902 | return cmd |
| 903 | } |
| 904 | |
| 905 | func jsonDeprecatedErrorExampleCommand(path string, deprecated string) *cobra.Command { |
| 906 | cmd := jsonErrorExampleCommand(path) |
no test coverage detected