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
Copy file name to clipboardExpand all lines: elmclient/examples/REQIF_IO.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,24 @@ Installation
26
26
27
27
The `reqif_io` command is installed in your Python scripts folder when installing `elmclient`
28
28
29
+
TLDR;
30
+
=====
31
+
32
+
Here's a sequence which lists definitions, creates a new definition for a specific module, exports it to reqifz, reimports the reqifz, and then deletes the definition
33
+
34
+
NOTE this is so brief because it's using the defaults for server URL and context roots, username and password - see below these sections for how to set these up for your environment.
35
+
NOTE this works when project `rm_optout_p1` was created using the `Systems Requirement Sample`, which has a module `AMR Stakeholder Specification`.
parser.add_argument('--pagesize', default=200, type=int, help="Page size for OSLC query (default 200)")
106
106
parser.add_argument('--typesystemreport', default=None, help="Load the specified project/configuration and then produce a simple HTML type system report of resource shapes/properties/enumerations to this file" )
107
107
parser.add_argument('--cachedays', default=1,type=int, help="The number of days for caching received data, default 1. To disable caching use -WW. To keep using a non-default cache period you must specify this value every time" )
108
+
parser.add_argument('--saverawresults', default=None, help="Save the raw results as XML to this path/file prefix - pages are numbered starting from 0000" )
109
+
parser.add_argument('--saveprocessedresults', default=None, help="Save the processed results as JSON to this path/file" )
108
110
109
111
# saved credentials
110
112
parser.add_argument('-0', '--savecreds', default=None, help="Save obfuscated credentials file for use with readcreds, then exit - this stores jazzurl, jts, appstring, username and password")
Copy file name to clipboardExpand all lines: elmclient/examples/reqif_io.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -108,8 +108,8 @@ def reqif_main():
108
108
parser_create.add_argument('-s', '--description', default="-", help="Description for the definition")
109
109
parser_create.add_argument('-t', '--tags', action="store_false", help="Don't include tags in the reqif (defaults to including) - if you need this off, specify it on the last update or on the create")
110
110
parser_create.add_argument('-u', '--update', action="store_true", help="Update the named definition by adding things - it must already exist!")
111
-
# NIY parser_create.add_argument('-p', '--publicviews', nargs='*', default=[], help='* or CSL of public view names')
112
-
# NIY parser_create.add_argument('-v', '--moduleviews', nargs='*', default=[], help='* or CSL of module view names')
111
+
# TODO: NIY parser_create.add_argument('-p', '--publicviews', nargs='*', default=[], help='* or CSL of public view names')
112
+
# TODO: NIY parser_create.add_argument('-v', '--moduleviews', nargs='*', default=[], help='* or CSL of module view names')
113
113
114
114
parser_delete.add_argument('definitionnames',nargs='*',default=[],help='One or more names of export definitions to delete - this can be a regex where . matches any character, etc. If you want the regex to match a complete name put ^ at the start and $ at the end')
115
115
parser_delete.add_argument('-n', '--noconfirm', action='store_true', help="Don't prompt to confirm each delete (DANGEROUS!)")
0 commit comments