Skip to content

Commit 16d394e

Browse files
committed
Add command to print project attributions
1 parent eef2c42 commit 16d394e

File tree

9 files changed

+77
-3
lines changed

9 files changed

+77
-3
lines changed

lib/node_modules/@stdlib/repl/data/example.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ clearUserDocs,"function foo() {};\nuserDoc( 'foo', foo, '\nfoo()\n Foo bar.\n
1111
clearVars,"var x = 3.14;\nx\nclearVars();\nx\n"
1212
clearWorkspace,"workspace( 'foobar' );\nvar x = 3.14;\nworkspace( 'barfoo' );\ntypeof x\nvarsWorkspace( 'foobar' )\nclearWorkspace( 'foobar' );\nvarsWorkspace( 'foobar' )\nworkspace( 'foobar' );\nx\n"
1313
copyright,"copyright()\n"
14+
credits,"credits()\n"
1415
currentWorkspace,"currentWorkspace\n"
1516
deeprerequire,"var foo = require( './foo.js' );\nfoo = deeprerequire( './foo.js' );\n"
1617
deleteWorkspace,"workspace( 'foobar' );\nvar x = 3.14;\nworkspace( 'barfoo' );\nworkspaces()\ndeleteWorkspace( 'foobar' );\nworkspaces()\n"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"__done__":"function onTimeout() { __done__( null, 'foo' ) };\nvar res = setTimeout( onTimeout, 1000 )\n","require":"var crypto = require( 'crypto' )\n","alias2pkg":"var v = alias2pkg( 'base.sin' )\nvar v = alias2pkg( new Float64Array( 10 ) )\n","alias2related":"var v = alias2related( 'base.sin' )\nvar v = alias2related( new Float64Array( 10 ) )\n","ans":"ans\n","assignfrom":"workspace( 'foobar' );\nvar x = 3.14;\nworkspace( 'barfoo' );\nvar y = assignfrom( 'foobar', 'x' );\ny\n","assignin":"assignin( 'base', 'x', 3.14 );\nx\n","clear":"clear()\n","clearHistory":"clearHistory()\n","clearUserDocs":"function foo() {};\nuserDoc( 'foo', foo, '\\nfoo()\\n Foo bar.\\n' );\nhelp( foo )\nclearUserDocs();\nhelp( foo )\n","clearVars":"var x = 3.14;\nx\nclearVars();\nx\n","clearWorkspace":"workspace( 'foobar' );\nvar x = 3.14;\nworkspace( 'barfoo' );\ntypeof x\nvarsWorkspace( 'foobar' )\nclearWorkspace( 'foobar' );\nvarsWorkspace( 'foobar' )\nworkspace( 'foobar' );\nx\n","copyright":"copyright()\n","currentWorkspace":"currentWorkspace\n","deeprerequire":"var foo = require( './foo.js' );\nfoo = deeprerequire( './foo.js' );\n","deleteWorkspace":"workspace( 'foobar' );\nvar x = 3.14;\nworkspace( 'barfoo' );\nworkspaces()\ndeleteWorkspace( 'foobar' );\nworkspaces()\n","donate":"donate()\n","evalin":"workspace( 'foobar' );\nworkspace( 'barfoo' );\nevalin( 'foobar', 'var x = 3.14;' );\nx\nworkspace( 'foobar' );\nx\n","example":"example( base.sin )\nexample( 'base.sin' )\nexample( isString.isPrimitive )\nexample( 'isString.isPrimitive' )\nexample( new Float64Array( 10 ) )\n","global":"global\n","help":"help()\nhelp( help )\nhelp( 'help' )\nhelp( isString.isPrimitive )\nhelp( 'isString.isPrimitive' )\nhelp( new Float64Array( 10 ) )\n","info":"info( base.sin )\ninfo( 'base.sin' )\ninfo( isString.isPrimitive )\ninfo( 'isString.isPrimitive' )\ninfo( new Float64Array( 10 ) )\n","isKeyword":"isKeyword( 'Float64Array' )\nisKeyword( 'beep_boop_bop_bip_foo_bar' )\n","isWorkspace":"isWorkspace( 'base' )\nisWorkspace( /^presentation/ )\n","load":"load( './path/to/file.js' )\n","loadWorkspace":"workspace( 'foobar' );\nvar x = 3.14;\nworkspace( 'barfoo' );\ntypeof x\nloadWorkspace( 'foobar' );\nx\n","logStart":"var id = logStart( './path/to/file.txt' );\n1 + 1\n'foo'\nlogStop( id );\n","logStop":"var id = logStart( './path/to/file.txt' );\n1 + 1\n'foo'\nlogStop( id );\n","presentationStart":"var id = presentationStart( 'beep\\n---boop\\n' );\n","presentationStop":"var id = presentationStart( 'beep\\n---\\nboop\\n' );\npresentationStop();\n","quit":"quit()\n","renameWorkspace":"workspace( 'foobar' );\nvar x = 3.14;\nworkspaces()\nworkspace( 'barfoo' );\nworkspaces()\nrenameWorkspace( 'foobar', 'beepboop' );\nworkspaces()\nworkspace( 'beepboop' );\nx\n","rerequire":"var foo = require( './foo.js' );\nfoo = rerequire( './foo.js' );\n","rerun":"1+1\nrerun()\n","reset":"reset()\n","save":"save( './path/to/file.txt' )\n","saveStart":"var id = saveStart( './path/to/file.txt' );\n1 + 1\n'foo'\nsaveStop( id );\n","saveStop":"var id = saveStart( './path/to/file.txt' );\n1 + 1\n'foo'\nsaveStop( id );\n","tutorial":"var id = tutorial( 'repl' );\n","userDoc":"function foo() {};\nuserDoc( 'foo', foo, '\\nfoo()\\n Foo bar.\\n' );\nhelp( foo )\n","vars":"vars()\nvars( { 'details': true } )\n","varsWorkspace":"varsWorkspace()\nvarsWorkspace( 'base' )\nvarsWorkspace( { 'details': true } )\n","workspace":"workspace( 'foobar' );\nvar x = 3.14;\nworkspace( 'beepboop' );\nx\n","workspaces":"workspaces()\nworkspaces( { 'details': true } )\n"}
1+
{"__done__":"function onTimeout() { __done__( null, 'foo' ) };\nvar res = setTimeout( onTimeout, 1000 )\n","require":"var crypto = require( 'crypto' )\n","alias2pkg":"var v = alias2pkg( 'base.sin' )\nvar v = alias2pkg( new Float64Array( 10 ) )\n","alias2related":"var v = alias2related( 'base.sin' )\nvar v = alias2related( new Float64Array( 10 ) )\n","ans":"ans\n","assignfrom":"workspace( 'foobar' );\nvar x = 3.14;\nworkspace( 'barfoo' );\nvar y = assignfrom( 'foobar', 'x' );\ny\n","assignin":"assignin( 'base', 'x', 3.14 );\nx\n","clear":"clear()\n","clearHistory":"clearHistory()\n","clearUserDocs":"function foo() {};\nuserDoc( 'foo', foo, '\\nfoo()\\n Foo bar.\\n' );\nhelp( foo )\nclearUserDocs();\nhelp( foo )\n","clearVars":"var x = 3.14;\nx\nclearVars();\nx\n","clearWorkspace":"workspace( 'foobar' );\nvar x = 3.14;\nworkspace( 'barfoo' );\ntypeof x\nvarsWorkspace( 'foobar' )\nclearWorkspace( 'foobar' );\nvarsWorkspace( 'foobar' )\nworkspace( 'foobar' );\nx\n","copyright":"copyright()\n","credits":"credits()\n","currentWorkspace":"currentWorkspace\n","deeprerequire":"var foo = require( './foo.js' );\nfoo = deeprerequire( './foo.js' );\n","deleteWorkspace":"workspace( 'foobar' );\nvar x = 3.14;\nworkspace( 'barfoo' );\nworkspaces()\ndeleteWorkspace( 'foobar' );\nworkspaces()\n","donate":"donate()\n","evalin":"workspace( 'foobar' );\nworkspace( 'barfoo' );\nevalin( 'foobar', 'var x = 3.14;' );\nx\nworkspace( 'foobar' );\nx\n","example":"example( base.sin )\nexample( 'base.sin' )\nexample( isString.isPrimitive )\nexample( 'isString.isPrimitive' )\nexample( new Float64Array( 10 ) )\n","global":"global\n","help":"help()\nhelp( help )\nhelp( 'help' )\nhelp( isString.isPrimitive )\nhelp( 'isString.isPrimitive' )\nhelp( new Float64Array( 10 ) )\n","info":"info( base.sin )\ninfo( 'base.sin' )\ninfo( isString.isPrimitive )\ninfo( 'isString.isPrimitive' )\ninfo( new Float64Array( 10 ) )\n","isKeyword":"isKeyword( 'Float64Array' )\nisKeyword( 'beep_boop_bop_bip_foo_bar' )\n","isWorkspace":"isWorkspace( 'base' )\nisWorkspace( /^presentation/ )\n","load":"load( './path/to/file.js' )\n","loadWorkspace":"workspace( 'foobar' );\nvar x = 3.14;\nworkspace( 'barfoo' );\ntypeof x\nloadWorkspace( 'foobar' );\nx\n","logStart":"var id = logStart( './path/to/file.txt' );\n1 + 1\n'foo'\nlogStop( id );\n","logStop":"var id = logStart( './path/to/file.txt' );\n1 + 1\n'foo'\nlogStop( id );\n","presentationStart":"var id = presentationStart( 'beep\\n---boop\\n' );\n","presentationStop":"var id = presentationStart( 'beep\\n---\\nboop\\n' );\npresentationStop();\n","quit":"quit()\n","renameWorkspace":"workspace( 'foobar' );\nvar x = 3.14;\nworkspaces()\nworkspace( 'barfoo' );\nworkspaces()\nrenameWorkspace( 'foobar', 'beepboop' );\nworkspaces()\nworkspace( 'beepboop' );\nx\n","rerequire":"var foo = require( './foo.js' );\nfoo = rerequire( './foo.js' );\n","rerun":"1+1\nrerun()\n","reset":"reset()\n","save":"save( './path/to/file.txt' )\n","saveStart":"var id = saveStart( './path/to/file.txt' );\n1 + 1\n'foo'\nsaveStop( id );\n","saveStop":"var id = saveStart( './path/to/file.txt' );\n1 + 1\n'foo'\nsaveStop( id );\n","tutorial":"var id = tutorial( 'repl' );\n","userDoc":"function foo() {};\nuserDoc( 'foo', foo, '\\nfoo()\\n Foo bar.\\n' );\nhelp( foo )\n","vars":"vars()\nvars( { 'details': true } )\n","varsWorkspace":"varsWorkspace()\nvarsWorkspace( 'base' )\nvarsWorkspace( { 'details': true } )\n","workspace":"workspace( 'foobar' );\nvar x = 3.14;\nworkspace( 'beepboop' );\nx\n","workspaces":"workspaces()\nworkspaces( { 'details': true } )\n"}

lib/node_modules/@stdlib/repl/data/help.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ clearUserDocs,"\nclearUserDocs( [options] )\n Deletes user-defined documentat
1111
clearVars,"\nclearVars( [options] )\n Deletes user-defined variables in the current workspace.\n\n Parameters\n ----------\n options: Object (optional)\n Options.\n\n options.include: RegExp|ArrayLikeObject (optional)\n Variable name inclusion filter.\n\n options.exclude: RegExp|ArrayLikeObject (optional)\n Variable name exclusion filter.\n\n Examples\n --------\n > var x = 3.14;\n > x\n > clearVars();\n > x\n\n See Also\n --------\n clearWorkspace, vars\n\n"
1212
clearWorkspace,"\nclearWorkspace( [name, ][options] )\n Deletes user-defined variables in a specified workspace.\n\n Parameters\n ----------\n name: string (optional)\n Workspace name. Default: the current workspace.\n\n options: Object (optional)\n Options.\n\n options.include: RegExp|ArrayLikeObject (optional)\n Variable name inclusion filter.\n\n options.exclude: RegExp|ArrayLikeObject (optional)\n Variable name exclusion filter.\n\n Examples\n --------\n // Create a new workspace:\n > workspace( 'foobar' );\n > var x = 3.14;\n\n // Switch to another workspace:\n > workspace( 'barfoo' );\n > typeof x\n\n // List the variables in the previous workspace:\n > varsWorkspace( 'foobar' )\n\n // Delete the variables in the previous workspace:\n > clearWorkspace( 'foobar' );\n > varsWorkspace( 'foobar' )\n\n // Navigate to the previous workspace:\n > workspace( 'foobar' );\n\n // Confirm that the variables were deleted:\n > x\n\n See Also\n --------\n assignin, clearVars, loadWorkspace, vars, varsWorkspaces, workspaces\n\n"
1313
copyright,"\ncopyright()\n Prints copyright information.\n\n Examples\n --------\n > copyright()\n\n See Also\n --------\n contributors, help, license\n"
14+
credits,"\ncredits()\n Prints credits.\n\n Examples\n --------\n > credits()\n\n See Also\n --------\n contributors, donate, help\n"
1415
currentWorkspace,"\ncurrentWorkspace\n Name of the current workspace.\n\n Examples\n --------\n > currentWorkspace\n\n See Also\n --------\n workspaces\n\n"
1516
deeprerequire,"\ndeeprerequire( id )\n Re-imports a module, JSON, or local file and all its associated module\n dependencies.\n\n Modules can be imported from `node_modules`.\n\n Local modules and JSON files can be imported using a relative path (e.g.,\n './foo.js', './../bar.json', etc) that will be resolved against the current\n working directory.\n\n Parameters\n ----------\n id: string\n Module name or path to re-import.\n\n Returns\n -------\n m: any\n Module export.\n\n Examples\n --------\n > var foo = require( './foo.js' );\n\n // Modify `./foo.js` and/or its module dependencies...\n\n // Re-import the module:\n > foo = deeprerequire( './foo.js' );\n\n See Also\n --------\n load, require, rerequire\n\n"
1617
deleteWorkspace,"\ndeleteWorkspace( [name] )\n Deletes a workspace.\n\n If not provided an argument, the REPL deletes the current workspace and\n switches to the 'base' workspace.\n\n The 'base' workspace *cannot* be deleted.\n\n Parameters\n ----------\n name: string (optional)\n Workspace name. Default: the current workspace.\n\n Examples\n --------\n > workspace( 'foobar' );\n > var x = 3.14;\n > workspace( 'barfoo' );\n > workspaces()\n > deleteWorkspace( 'foobar' );\n > workspaces()\n\n See Also\n --------\n currentWorkspace, loadWorkspace, workspace, workspaces\n\n"

lib/node_modules/@stdlib/repl/data/help.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/repl/data/info.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ clearUserDocs,"\nclearUserDocs( [options] )\n Deletes user-defined documentat
1111
clearVars,"\nclearVars( [options] )\n Deletes user-defined variables in the current workspace.\n"
1212
clearWorkspace,"\nclearWorkspace( [name, ][options] )\n Deletes user-defined variables in a specified workspace.\n"
1313
copyright,"\ncopyright()\n Prints copyright information.\n"
14+
credits,"\ncredits()\n Prints credits.\n"
1415
currentWorkspace,"\ncurrentWorkspace\n Name of the current workspace.\n"
1516
deeprerequire,"\ndeeprerequire( id:string )\n Re-imports a module, JSON, or local file and all its associated module\n dependencies.\n"
1617
deleteWorkspace,"\ndeleteWorkspace( [name:string] )\n Deletes a workspace.\n"

0 commit comments

Comments
 (0)