package
1.22.0
Repository: https://github.com/mongodb/mongocli.git
Documentation: pkg.go.dev

# Functions

ExactArgs returns an error if there are not exactly n args.
ExactArgsObjectID returns an error if there are not exactly n args and any of those args is not an ObjectID.
ExactValidArgs returns an error if there are not exactly N positional args OR there are any positional args that are not in the `ValidArgs` field of `Command`.
MaximumNArgs returns an error if there are more than N args.
MinimumNArgs returns an error if there is not at least N args.
MinimumNObjectIDArgs returns an error if there is not at least N args and any of those args is not an ObjectID.
NoArgs returns an error if any args are included.