Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update terminology to refer to containers instead of Docker #13

Merged
merged 1 commit into from
Oct 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/Valleysoft.Dredge/ManifestCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ namespace Valleysoft.Dredge;

public class ManifestCommand : Command
{
public ManifestCommand() : base("manifest", "Commands related to Docker manifests")
public ManifestCommand() : base("manifest", "Commands related to container image manifests")
{
AddCommand(new GetCommand());
AddCommand(new DigestCommand());
}

private class GetCommand : Command
{
public GetCommand() : base("get", "Queries a Docker manifest")
public GetCommand() : base("get", "Queries a container image manifest")
{
Argument<string> imageArg = new("image", "Name of the Docker image (<image>, <image>:<tag>, or <image>@<digest>)");
Argument<string> imageArg = new("image", "Name of the container image (<image>, <image>:<tag>, or <image>@<digest>)");
AddArgument(imageArg);
this.SetHandler(ExecuteAsync, imageArg);
}
Expand All @@ -40,9 +40,9 @@ private Task ExecuteAsync(string image)

private class DigestCommand : Command
{
public DigestCommand() : base("digest", "Queries the digest of a Docker manifest")
public DigestCommand() : base("digest", "Queries the digest of a container image manifest")
{
Argument<string> imageArg = new("image", "Name of the Docker image (<image> or <image>:<tag>");
Argument<string> imageArg = new("image", "Name of the container image image (<image> or <image>:<tag>");
AddArgument(imageArg);
this.SetHandler(ExecuteAsync, imageArg);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Valleysoft.Dredge/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.CommandLine;
using Valleysoft.Dredge;

RootCommand rootCmd = new("CLI for executing commands on a Docker registry's HTTP API.")
RootCommand rootCmd = new("CLI for executing commands on a container registry's HTTP API.")
{
new ImageCommand(),
new ManifestCommand(),
Expand Down
6 changes: 3 additions & 3 deletions src/Valleysoft.Dredge/RepoCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ namespace Valleysoft.Dredge;

public class RepoCommand : Command
{
public RepoCommand() : base("repo", "Commands related to Docker repositories")
public RepoCommand() : base("repo", "Commands related to container repositories")
{
AddCommand(new ListCommand());
}

private class ListCommand : Command
{
public ListCommand() : base("list", "Lists the repositories contained in the Docker registry")
public ListCommand() : base("list", "Lists the repositories contained in the container registry")
{
Argument<string> registryArg = new("registry", "Name of the Docker registry");
Argument<string> registryArg = new("registry", "Name of the container registry");
AddArgument(registryArg);

this.SetHandler(ExecuteAsync, registryArg);
Expand Down
6 changes: 3 additions & 3 deletions src/Valleysoft.Dredge/TagCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ namespace Valleysoft.Dredge;

public class TagCommand : Command
{
public TagCommand() : base("tag", "Commands related to Docker tags")
public TagCommand() : base("tag", "Commands related to container image tags")
{
AddCommand(new ListCommand());
}

private class ListCommand : Command
{
public ListCommand() : base("list", "Lists the tag contained in the Docker repository")
public ListCommand() : base("list", "Lists the tag contained in the container repository")
{
Argument<string> repoArg = new("repo", "Name of the Docker repository");
Argument<string> repoArg = new("repo", "Name of the container repository");
AddArgument(repoArg);

this.SetHandler(ExecuteAsync, repoArg);
Expand Down
6 changes: 3 additions & 3 deletions src/Valleysoft.Dredge/Valleysoft.Dredge.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

<PropertyGroup>
<PackageId>Valleysoft.Dredge</PackageId>
<Title>Docker Registry Client CLI</Title>
<Description>CLI for executing commands on a Docker registry's HTTP API.</Description>
<PackageTags>docker</PackageTags>
<Title>Container Registry Client CLI</Title>
<Description>CLI for executing commands on a container registry's HTTP API.</Description>
<PackageTags>docker;container</PackageTags>
<Authors>Matt Thalman and Contributors</Authors>
<RepositoryUrl>https://github.com/mthalman/dredge</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
Expand Down