Skip to content

Commit

Permalink
add shell completion for get command
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Apr 10, 2024
1 parent cbb62d6 commit 956331a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/tart/Commands/Get.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fileprivate struct VMInfo: Encodable {
struct Get: AsyncParsableCommand {
static var configuration = CommandConfiguration(commandName: "get", abstract: "Get a VM's configuration")

@Argument(help: "VM name.")
@Argument(help: "VM name.", completion: .custom(completeLocalMachines))
var name: String

@Option(help: "Output format: text or json")
Expand Down

0 comments on commit 956331a

Please sign in to comment.