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
{{ message }}
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
As with build, the explain command can be fully genericized for reuse without re-implementation in other projects such as PRM.
Acceptance Criteria
Convert the var declaration in the explain command to a ExplainCommand struct
Add the ExplainCommandI interface which must implement CreateCommand()
Update CreateCommand(), preExecute(), validateArgCount(), flagCompletion(), and execute() to operate on the ExplainCommand struct, updating references from the variables to the struct's properties
Remove the logic from CreateCommand which instantiates the docs file system; this should be passed when the struct is instantiated in main
Remove any references to pct, genericizing where needed
Ensure tests continue to pass
The text was updated successfully, but these errors were encountered:
As with
build
, theexplain
command can be fully genericized for reuse without re-implementation in other projects such as PRM.Acceptance Criteria
var
declaration in theexplain
command to aExplainCommand
structExplainCommandI
interface which must implementCreateCommand()
CreateCommand()
,preExecute()
,validateArgCount()
,flagCompletion()
, andexecute()
to operate on theExplainCommand
struct, updating references from the variables to the struct's propertiesCreateCommand
which instantiates the docs file system; this should be passed when the struct is instantiated inmain
pct
, genericizing where neededThe text was updated successfully, but these errors were encountered: