Skip to content

Commit

Permalink
[is-trimmable] Change command arguments
Browse files Browse the repository at this point in the history
from `cilout is-trimmable <assembly>`
to `cilout assembly <assembly> is-trimmable`

This will make more sense as new commands are added.
  • Loading branch information
spouliot committed Feb 13, 2022
1 parent 93c6fec commit 811f2f3
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@

namespace CilOut.Commands;

sealed class IsTrimmableCommand : Command<IsTrimmableCommand.Settings> {
public sealed class Settings : CommandSettings {
public sealed class AssemblyIsTrimmableCommand : Command<AssemblyIsTrimmableCommand.Settings> {

[Description ("Assembly to verify for presence of `[[assembly: AssemblyMetadata (\"Trimmable\", \"true\")]]`")]
[CommandArgument (0, "<assembly>")]
public string? Assembly { get; init; }
public sealed class Settings : AssemblySettings {

[Description ("No visible output. Use return code.")]
[CommandOption ("-q|--quiet")]
Expand Down

0 comments on commit 811f2f3

Please sign in to comment.