-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge: src/doc/commands: use filters
This PR allows the DocCommands to use ModelFilter. With this, one can setup the filter used by a command from: * The commands programmatic Nit interface ~~~nit var filter = new ModelFilter(accept_test = false) var cmd = new CmdParents(model, main, filter, mentity_name = "MyEntity") ~~~ * The string interface through the CommandParser ~~~raw [[parents: MyEntity | no-test]] ~~~ * The HTTP interface ~~~raw /children/MyEntity?no-test=true ~~~ Pull-Request: #2722 Reviewed-by: Jean Privat <[email protected]>
- Loading branch information
Showing
19 changed files
with
588 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.