nerdctl icon indicating copy to clipboard operation
nerdctl copied to clipboard

cobra alias Persistence

Open fahedouch opened this issue 3 years ago • 2 comments

Some flags are designed to be nonPersistentAlias (i.e --n, --H) to avoid conflict with submodules. We should mention this in the description of alias to avoid bad understanding

Flags:
  -H, --H string                 Alias of --address (default "/run/containerd/containerd.sock")
  -a, --a string                 Alias of --address (default "/run/containerd/containerd.sock")
      --address string           containerd address, optionally with "unix://" prefix [$CONTAINERD_ADDRESS] (default "/run/containerd/containerd.sock")
      --cgroup-manager string    Cgroup manager to use ("cgroupfs"|"systemd") (default "cgroupfs")
      --cni-netconfpath string   cni config directory [$NETCONFPATH] (default "/etc/cni/net.d")
      --cni-path string          cni plugins binary directory [$CNI_PATH] (default "/tmp/containernetworking/plugins/bin")
      --data-root string         Root directory of persistent nerdctl state (managed by nerdctl, not by containerd) (default "/var/lib/nerdctl")
      --debug                    debug mode
      --debug-full               debug mode (with full output)
  -h, --help                     help for nerdctl
      --host string              Alias of --address (default "/run/containerd/containerd.sock")
      --insecure-registry        skips verifying HTTPS certs, and allows falling back to plain HTTP
  -n, --n string                 Alias of --namespace (default "default")
      --namespace string         containerd namespace, such as "moby" for Docker, "k8s.io" for Kubernetes [$CONTAINERD_NAMESPACE] (default "default")
      --snapshotter string       containerd snapshotter [$CONTAINERD_SNAPSHOTTER] (default "native")
      --storage-driver string    Alias of --snapshotter (default "native")
  -v, --version                  version for nerdctl

fahedouch avatar Jan 14 '22 13:01 fahedouch

I am going to work on this issue

MaxMcAdam avatar May 16 '22 15:05 MaxMcAdam

Not a "good first issue" probably

AkihiroSuda avatar Aug 04 '22 07:08 AkihiroSuda