You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let outputOption = Option("output", OutputDestination.Console, flag: "o", description: "The path to the file to generate (Omit to generate to stdout)")
Using -o doesn't work, while using --output does.
(The -o doesn't show up in the help either btw, not sure that's expected)
$ swiftgen images -o out.swift share/swiftgen/fixtures/Images.xcassets
Unknown Arguments: -o
Options:
--output - The path to the file to generate (Omit to generate to stdout)
--template - The name of the template to use for code generation (without the "images" prefix nor extension).
--templatePath - The path of the template to use for code generation. Overrides -t.
--enumName - The name of the enum to generate
$ swiftgen images --output out.swift share/swiftgen/fixtures/Images.xcassets
File written: out.swift
Was working in Commander 0.2.2, stopped working on 3.0.0
The text was updated successfully, but these errors were encountered:
Given an option defined like this:
Using
-o
doesn't work, while using--output
does.(The
-o
doesn't show up in the help either btw, not sure that's expected)Was working in Commander 0.2.2, stopped working on 3.0.0
The text was updated successfully, but these errors were encountered: