| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8cd2bf3b-990d-192e-13b9-d4c905fceaf6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E8D2:C93D7:5650:6F7A:6B005086 |
| html-safe-nonce | 117dc9bf53b74273c76a87f693b89f1cd5b6f9a758cbc1472dc413c8e4b7e68c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEQyOkM5M0Q3OjU2NTA6NkY3QTo2QjAwNTA4NiIsInZpc2l0b3JfaWQiOiI4Njk3MTQ2NzMxMzc0MDcxOTQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 74934691172ebb2826760acae515b26b549180ff540827803f4f5d4c3c8fd964 |
| hovercard-subject-tag | pull_request:14339238 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/scriptcs/scriptcs/pull/612/files |
| twitter:image | https://avatars.githubusercontent.com/u/1710369?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1710369?s=400&v=4 |
| og:image:alt | Overview
This PR introduces the infrastructure for REPL commands. Fixes #224 and #237. The design is as discussed in #583.
The command is defined as follows:
public interface IReplCommand
{
s... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/scriptcs/scriptcs git https://github.com/scriptcs/scriptcs.git |
| octolytics-dimension-user_id | 3758046 |
| octolytics-dimension-user_login | scriptcs |
| octolytics-dimension-repository_id | 8473240 |
| octolytics-dimension-repository_nwo | scriptcs/scriptcs |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 8473240 |
| octolytics-dimension-repository_network_root_nwo | scriptcs/scriptcs |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/scriptcs/scriptcs/pull/612/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscriptcs%2Fscriptcs%2Fpull%2F612%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscriptcs%2Fscriptcs%2Fpull%2F612%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=scriptcs%2Fscriptcs |
| Reload | https://github.com/scriptcs/scriptcs/pull/612/files |
| Reload | https://github.com/scriptcs/scriptcs/pull/612/files |
| Reload | https://github.com/scriptcs/scriptcs/pull/612/files |
| scriptcs | https://github.com/scriptcs |
| scriptcs | https://github.com/scriptcs/scriptcs |
| Code | https://github.com/scriptcs/scriptcs |
| Issues167 (167) | https://github.com/scriptcs/scriptcs/issues |
| Pull requests2 (2) | https://github.com/scriptcs/scriptcs/pulls |
| Actions | https://github.com/scriptcs/scriptcs/actions |
| Projects | https://github.com/scriptcs/scriptcs/projects |
| Wiki | https://github.com/scriptcs/scriptcs/wiki |
| Security and quality | https://github.com/scriptcs/scriptcs/security |
| Insights | https://github.com/scriptcs/scriptcs/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fscriptcs%2Fscriptcs%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fscriptcs%2Fscriptcs%2Fissues%2Fnew%2Fchoose |
| filipw | https://github.com/filipw |
| scriptcs:dev | https://github.com/scriptcs/scriptcs/tree/dev |
| filipw:replcommands | https://github.com/filipw/scriptcs/tree/replcommands |
|
Conversation
9
| https://github.com/scriptcs/scriptcs/pull/612 |
|
Commits
14
| https://github.com/scriptcs/scriptcs/pull/612/commits |
|
Checks
0
| https://github.com/scriptcs/scriptcs/pull/612/checks |
|
Files changed
| https://github.com/scriptcs/scriptcs/pull/612/files |
| Please reload this page | https://github.com/scriptcs/scriptcs/pull/612/files |
|
Replcommands
| https://github.com/scriptcs/scriptcs/pull/612/files#top |
|
Show all changes
14 commits
| https://github.com/scriptcs/scriptcs/pull/612/files |
|
424110e
Added IReplCommand and basic commands impl
filipw Mar 30, 2014
| https://github.com/scriptcs/scriptcs/pull/612/commits/424110e99a705ce13aeb8529f3df788dbc868f30 |
|
20a1516
added infra for Replcommands
filipw Mar 30, 2014
| https://github.com/scriptcs/scriptcs/pull/612/commits/20a1516b0b6698e5fc3c641d60628904b7ae6633 |
|
80d622a
added InstallCommand
filipw Mar 30, 2014
| https://github.com/scriptcs/scriptcs/pull/612/commits/80d622a1628710565fb3f1a3b51ab389cfd0c506 |
|
cdaa44b
reorganized files, fixed tests, added tests for CwdCommand and CdCommand
filipw Apr 2, 2014
| https://github.com/scriptcs/scriptcs/pull/612/commits/cdaa44b820fa10567437a06444f256fcc4926c73 |
|
33b490c
tests for ClearCommand and ResetCommand
filipw Apr 3, 2014
| https://github.com/scriptcs/scriptcs/pull/612/commits/33b490c81768aa79e3a85b654fdff3f9f07caa41 |
|
40f5487
tests for InstallCommand
filipw Apr 3, 2014
| https://github.com/scriptcs/scriptcs/pull/612/commits/40f54872cccf810de9e19d3b568540511e5ffaf6 |
|
ba329a8
added tests for Repl
filipw Apr 3, 2014
| https://github.com/scriptcs/scriptcs/pull/612/commits/ba329a879edb457b8e466c356488a5ca452e4bc4 |
|
79cb0b8
Fixed the bug in ScriptEngine state manager. Unfortunately it didn't …
filipw Apr 3, 2014
| https://github.com/scriptcs/scriptcs/pull/612/commits/79cb0b87c77ba7359b901c54636965d5874c8eb4 |
|
14a9850
Merge branch 'dev'
filipw May 26, 2014
| https://github.com/scriptcs/scriptcs/pull/612/commits/14a98506d108454b6c74cb5f1c8e27bb3f688ab3 |
|
21b2133
Fixed install command
filipw May 26, 2014
| https://github.com/scriptcs/scriptcs/pull/612/commits/21b2133dfc94b26523337a11dded27bc4fc57f1b |
|
380bd66
changed discovery to exporedtypes non-abstract classes
filipw May 26, 2014
| https://github.com/scriptcs/scriptcs/pull/612/commits/380bd6698bcf7da1cef620ea9b0049c1cb92541a |
|
a490bbe
do not scan dynamic assemblies
filipw May 26, 2014
| https://github.com/scriptcs/scriptcs/pull/612/commits/a490bbea6ff940beb5bf1c2843dbef9b9b9d3775 |
|
1216be9
added Arguments class for handling argument parsing
filipw May 26, 2014
| https://github.com/scriptcs/scriptcs/pull/612/commits/1216be9ff8c384a270e0b2fc8e1a5a59ade3816e |
|
c202bb6
Merge branch 'dev' of https://github.com/scriptcs/scriptcs into replc…
filipw May 29, 2014
| https://github.com/scriptcs/scriptcs/pull/612/commits/c202bb6baa58ca4e4e3915c48eb8c1cbac518fbd |
|
Clear filters
| https://github.com/scriptcs/scriptcs/pull/612/files |
| Please reload this page | https://github.com/scriptcs/scriptcs/pull/612/files |
| Please reload this page | https://github.com/scriptcs/scriptcs/pull/612/files |
|
AssemblyReferences.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-81a99da1be771d96aa1b1a4a77f75052e55f76f809a5f8e5171192fdca1e1a36 |
|
IReplCommand.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-fe032d9f71a848840992c7d62f333ae074178cb973e19264eb5e928f9f702a7b |
|
IScriptExecutor.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-795933d507cc2be4c12b50c0c8c760f39400f020d35471282756dfc51d1a3bf1 |
|
ScriptCs.Contracts.csproj
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-9078b7086a4a515760d77ffb9accfa435b148d37c39ca7bf20a9d04783a9c0f4 |
|
Arguments.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-7bec4f58f31b1364baaabd95ef92924398d7619669968d5a3f14f68a1e805a56 |
|
Repl.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-5a582ad661e71ef9114906b284c6a7873d5c014d8765a5a0dff73513f5b6955b |
|
CdCommand.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-426c63fe5a0f003bf1dc599e14ae526110644eabf963d815a300f172adb6c33e |
|
ClearCommand.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-eb68316413045d80105195f7b31e94a259f0924a352de9918e7b8fbf1a547a2b |
|
CwdCommand.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-98105811b516712cce513122de525a30e5cf3c74ef85c90640169003684f5a95 |
|
InstallCommand.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-051a3e862fb75e50814f7e123b8b1734d3f8402846ffe686f2ee0c55a3857411 |
|
ResetCommand.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-5558c16c2a0e0afe1856a9256097795307b2475f75e0e0409e5a4bd298e9c351 |
|
ScriptCs.Core.csproj
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-b7ed3dd136fdae7aae11108518f994fc34127469b069f4e9ea6a229ee49e1eee |
|
ScriptServices.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-4330a0e272d6ad80e43c6c5b9176c7b1b5159c7f6fc678f028d5a4c8bcd1b972 |
|
PackageContainer.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-a3d7ae784333c14ee2104fec144be934d39df77e768696ac71784615a18720d0 |
|
RuntimeServices.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-bf22eba0efc069e7ce5fae651229c5855c34ca9fa0ac0422716b61939fa6e98f |
|
CommandFactory.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-52d48595b6dd9383d336d7dd737294d9e4af23a5f526bade210a120532871dae |
|
ExecuteReplCommand.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-1f0c28eb65df31c30be0b5e2e9100f2183264908346710c1068a0b2942abdd39 |
|
ArgumentsTests.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-d63622a6f66d3d35305d5294c123ff2f601140dc2c54569e321867d0a3cd77fa |
|
CdCommandTests.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-3eef19d8d4bcebffde2a244517c1b1e8fae0416648fc63cb25e8f6f47c779a72 |
|
ClearCommandTests.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-f73db709a2999c8a82047d5d9039b09b0ee4f037c653ac008a9c7c710dbc1b47 |
|
CwdCommandTests.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-490ef4f4325a28617c45b99a55f66803df60a33b0f815d51edd61212f88aeb67 |
|
InstallCommandTests.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-c064a4144234278966ba554b78eb64f7a2e28c5cd7b11b9fdcc227871ec6780f |
|
ResetCommandTests.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-fb01ffbec31045ae536649cd89c86915304872924a6f927eea50fadee5df7f3b |
|
ReplTests.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-6f6decadad6777ed7d03ea15c8725438d4dfb91390a50d37f9e8e5b1cb465c02 |
|
ScriptCs.Core.Tests.csproj
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-7f472d39d1a753a55cbb9e81d3cf7c2bb4da2793b730d58b03df0f429f8880af |
|
ScriptCs.Engine.Mono.Tests.csproj
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-84deeabcbbb0a1a681679464a8366918c59e8b82b589126fd239aa0308655252 |
|
ScriptServicesBuilderTests.cs
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-5a359cc008d1ecb0569b2b12b9faf2637a604864a2c64554e47abe2c8c5a90c7 |
| src/ScriptCs.Contracts/AssemblyReferences.cs | https://github.com/scriptcs/scriptcs/pull/612/files#diff-81a99da1be771d96aa1b1a4a77f75052e55f76f809a5f8e5171192fdca1e1a36 |
|
View file
| https://github.com/filipw/scriptcs/blob/c202bb6baa58ca4e4e3915c48eb8c1cbac518fbd/src/ScriptCs.Contracts/AssemblyReferences.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/scriptcs/scriptcs/pull/612/{{ revealButtonHref }} |
|
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-81a99da1be771d96aa1b1a4a77f75052e55f76f809a5f8e5171192fdca1e1a36 |
|
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-81a99da1be771d96aa1b1a4a77f75052e55f76f809a5f8e5171192fdca1e1a36 |
| src/ScriptCs.Contracts/IReplCommand.cs | https://github.com/scriptcs/scriptcs/pull/612/files#diff-fe032d9f71a848840992c7d62f333ae074178cb973e19264eb5e928f9f702a7b |
|
View file
| https://github.com/filipw/scriptcs/blob/c202bb6baa58ca4e4e3915c48eb8c1cbac518fbd/src/ScriptCs.Contracts/IReplCommand.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/scriptcs/scriptcs/pull/612/{{ revealButtonHref }} |
| src/ScriptCs.Contracts/IScriptExecutor.cs | https://github.com/scriptcs/scriptcs/pull/612/files#diff-795933d507cc2be4c12b50c0c8c760f39400f020d35471282756dfc51d1a3bf1 |
|
View file
| https://github.com/filipw/scriptcs/blob/c202bb6baa58ca4e4e3915c48eb8c1cbac518fbd/src/ScriptCs.Contracts/IScriptExecutor.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/scriptcs/scriptcs/pull/612/{{ revealButtonHref }} |
|
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-795933d507cc2be4c12b50c0c8c760f39400f020d35471282756dfc51d1a3bf1 |
| src/ScriptCs.Contracts/ScriptCs.Contracts.csproj | https://github.com/scriptcs/scriptcs/pull/612/files#diff-9078b7086a4a515760d77ffb9accfa435b148d37c39ca7bf20a9d04783a9c0f4 |
|
View file
| https://github.com/filipw/scriptcs/blob/c202bb6baa58ca4e4e3915c48eb8c1cbac518fbd/src/ScriptCs.Contracts/ScriptCs.Contracts.csproj |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/scriptcs/scriptcs/pull/612/{{ revealButtonHref }} |
|
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-9078b7086a4a515760d77ffb9accfa435b148d37c39ca7bf20a9d04783a9c0f4 |
|
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-9078b7086a4a515760d77ffb9accfa435b148d37c39ca7bf20a9d04783a9c0f4 |
| src/ScriptCs.Core/Arguments.cs | https://github.com/scriptcs/scriptcs/pull/612/files#diff-7bec4f58f31b1364baaabd95ef92924398d7619669968d5a3f14f68a1e805a56 |
|
View file
| https://github.com/filipw/scriptcs/blob/c202bb6baa58ca4e4e3915c48eb8c1cbac518fbd/src/ScriptCs.Core/Arguments.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/scriptcs/scriptcs/pull/612/{{ revealButtonHref }} |
| src/ScriptCs.Core/Repl.cs | https://github.com/scriptcs/scriptcs/pull/612/files#diff-5a582ad661e71ef9114906b284c6a7873d5c014d8765a5a0dff73513f5b6955b |
|
View file
| https://github.com/filipw/scriptcs/blob/c202bb6baa58ca4e4e3915c48eb8c1cbac518fbd/src/ScriptCs.Core/Repl.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/scriptcs/scriptcs/pull/612/{{ revealButtonHref }} |
|
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-5a582ad661e71ef9114906b284c6a7873d5c014d8765a5a0dff73513f5b6955b |
|
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-5a582ad661e71ef9114906b284c6a7873d5c014d8765a5a0dff73513f5b6955b |
|
| https://github.com/scriptcs/scriptcs/pull/612/files#diff-5a582ad661e71ef9114906b284c6a7873d5c014d8765a5a0dff73513f5b6955b |
| Please reload this page | https://github.com/scriptcs/scriptcs/pull/612/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |