├── .appveyor.yml
├── .editorconfig
├── .gitattributes
├── .gitignore
├── .travis.yml
├── .vsts-pipelines
└── builds
│ ├── ci-internal.yml
│ └── ci-public.yml
├── CONTRIBUTING.md
├── Directory.Build.props
├── Directory.Build.targets
├── DotNetTools.sln
├── LICENSE.txt
├── NuGet.config
├── NuGetPackageVerifier.json
├── README.md
├── build.cmd
├── build.sh
├── build
├── Key.snk
├── VSIX.props
├── VSIX.targets
├── dependencies.props
├── repo.props
├── repo.targets
└── sources.props
├── korebuild-lock.txt
├── korebuild.json
├── run.cmd
├── run.ps1
├── run.sh
├── samples
└── dotnet-watch
│ ├── Directory.Build.props
│ ├── Directory.Build.targets
│ ├── LaunchAnyCommand
│ ├── LaunchAnyCommand.csproj
│ ├── README.md
│ ├── package.json
│ └── say-hello.js
│ ├── README.md
│ ├── WatchJavascriptFiles
│ ├── Program.cs
│ ├── README.md
│ ├── WatchJavascriptFiles.csproj
│ └── wwwroot
│ │ └── app.js
│ └── WatchMultipleProjects
│ ├── README.md
│ ├── Test
│ ├── Test.csproj
│ └── UnitTest1.cs
│ ├── Web
│ ├── Program.cs
│ └── Web.csproj
│ └── watch.csproj
├── shared
├── CliContext.cs
├── CommandLineApplicationExtensions.cs
├── ConsoleReporter.cs
├── DebugHelper.cs
├── Ensure.cs
├── IConsole.cs
├── IReporter.cs
├── NullReporter.cs
└── PhysicalConsole.cs
├── src
├── Directory.Build.props
├── Directory.Build.targets
├── Microsoft.AspNetCore.DeveloperCertificates.XPlat
│ ├── CertificateGenerator.cs
│ └── Microsoft.AspNetCore.DeveloperCertificates.XPlat.csproj
├── Microsoft.HttpRepl
│ ├── AggregateDirectoryStructure.cs
│ ├── Commands
│ │ ├── BaseHttpCommand.cs
│ │ ├── ChangeDirectoryCommand.cs
│ │ ├── ClearCommand.cs
│ │ ├── ConfigCommand.cs
│ │ ├── DeleteCommand.cs
│ │ ├── EchoCommand.cs
│ │ ├── ExitCommand.cs
│ │ ├── Formatter.cs
│ │ ├── GetCommand.cs
│ │ ├── HeadCommand.cs
│ │ ├── HelpCommand.cs
│ │ ├── ListCommand.cs
│ │ ├── OptionsCommand.cs
│ │ ├── PatchCommand.cs
│ │ ├── PostCommand.cs
│ │ ├── PrefCommand.cs
│ │ ├── PutCommand.cs
│ │ ├── RunCommand.cs
│ │ ├── SetBaseCommand.cs
│ │ ├── SetDiagCommand.cs
│ │ ├── SetHeaderCommand.cs
│ │ ├── SetSwaggerCommand.cs
│ │ ├── TreeNode.cs
│ │ └── UICommand.cs
│ ├── Diagnostics
│ │ ├── ConfigItem.cs
│ │ ├── DiagEndpoint.cs
│ │ ├── DiagEndpointMetadata.cs
│ │ ├── DiagItem.cs
│ │ └── DiagnosticsState.cs
│ ├── DirectoryStructure.cs
│ ├── DirectoryStructureExtensions.cs
│ ├── Formatting
│ │ └── JsonVisitor.cs
│ ├── HttpState.cs
│ ├── IDirectoryStructure.cs
│ ├── IRequestInfo.cs
│ ├── Microsoft.HttpRepl.csproj
│ ├── OpenApi
│ │ ├── Either.cs
│ │ ├── EitherConverter.cs
│ │ ├── EndpointMetadata.cs
│ │ ├── EndpointMetadataReader.cs
│ │ ├── IEndpointMetadataReader.cs
│ │ ├── OpenApiV3EndpointMetadataReader.cs
│ │ ├── Parameter.cs
│ │ ├── PointerUtil.cs
│ │ ├── Schema.cs
│ │ ├── SwaggerV1EndpointMetadataReader.cs
│ │ └── SwaggerV2EndpointMetadataReader.cs
│ ├── Preferences
│ │ ├── IJsonConfig.cs
│ │ ├── JsonConfig.cs
│ │ ├── RequestConfig.cs
│ │ ├── RequestOrResponseConfig.cs
│ │ ├── ResponseConfig.cs
│ │ └── WellKnownPreference.cs
│ ├── Program.cs
│ ├── Properties
│ │ └── launchSettings.json
│ └── Suggestions
│ │ ├── HeaderCompletion.cs
│ │ └── ServerPathCompletion.cs
├── Microsoft.Repl
│ ├── Commanding
│ │ ├── CommandHistory.cs
│ │ ├── CommandInputLocation.cs
│ │ ├── CommandInputProcessingIssue.cs
│ │ ├── CommandInputProcessingIssueKind.cs
│ │ ├── CommandInputSpecification.cs
│ │ ├── CommandInputSpecificationBuilder.cs
│ │ ├── CommandOptionSpecification.cs
│ │ ├── CommandWithStructuredInputBase.cs
│ │ ├── DefaultCommandDispatcher.cs
│ │ ├── DefaultCommandInput.cs
│ │ ├── ICommand.cs
│ │ ├── ICommandDispatcher.cs
│ │ ├── ICommandHistory.cs
│ │ └── InputElement.cs
│ ├── ConsoleHandling
│ │ ├── AllowedColors.cs
│ │ ├── AnsiColorExtensions.cs
│ │ ├── AnsiConsole.cs
│ │ ├── ConsoleManager.cs
│ │ ├── IConsoleManager.cs
│ │ ├── IWritable.cs
│ │ ├── Point.cs
│ │ ├── Reporter.cs
│ │ └── Writable.cs
│ ├── Disposable.cs
│ ├── IShellState.cs
│ ├── Input
│ │ ├── AsyncKeyPressHandler.cs
│ │ ├── IInputManager.cs
│ │ ├── InputManager.cs
│ │ └── KeyHandlers.cs
│ ├── Microsoft.Repl.csproj
│ ├── Parsing
│ │ ├── CoreParseResult.cs
│ │ ├── CoreParser.cs
│ │ ├── ICoreParseResult.cs
│ │ └── IParser.cs
│ ├── Scripting
│ │ ├── IScriptExecutor.cs
│ │ └── ScriptExecutor.cs
│ ├── Shell.cs
│ ├── ShellState.cs
│ ├── Suggestions
│ │ ├── FileSystemCompletion.cs
│ │ ├── ISuggestionManager.cs
│ │ └── SuggestionManager.cs
│ └── Utils.cs
├── dotnet-dev-certs
│ ├── Program.cs
│ ├── README.md
│ └── dotnet-dev-certs.csproj
├── dotnet-sql-cache
│ ├── Program.cs
│ ├── README.md
│ ├── SqlQueries.cs
│ └── dotnet-sql-cache.csproj
├── dotnet-user-secrets
│ ├── CommandLineOptions.cs
│ ├── Internal
│ │ ├── ClearCommand.cs
│ │ ├── CommandContext.cs
│ │ ├── ICommand.cs
│ │ ├── InitCommand.cs
│ │ ├── ListCommand.cs
│ │ ├── MsBuildProjectFinder.cs
│ │ ├── ProjectIdResolver.cs
│ │ ├── ReadableJsonConfigurationSource.cs
│ │ ├── RemoveCommand.cs
│ │ ├── SecretsStore.cs
│ │ └── SetCommand.cs
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ └── Resources.Designer.cs
│ ├── README.md
│ ├── Resources.resx
│ ├── assets
│ │ └── SecretManager.targets
│ └── dotnet-user-secrets.csproj
└── dotnet-watch
│ ├── CommandLineOptions.cs
│ ├── DotNetWatcher.cs
│ ├── IFileSet.cs
│ ├── IFileSetFactory.cs
│ ├── Internal
│ ├── FileSet.cs
│ ├── FileSetWatcher.cs
│ ├── FileWatcher.cs
│ ├── FileWatcher
│ │ ├── DotnetFileWatcher.cs
│ │ ├── FileWatcherFactory.cs
│ │ ├── IFileSystemWatcher.cs
│ │ └── PollingFileWatcher.cs
│ ├── MsBuildFileSetFactory.cs
│ ├── MsBuildProjectFinder.cs
│ ├── OutputCapture.cs
│ ├── OutputSink.cs
│ └── ProcessRunner.cs
│ ├── PrefixConsoleReporter.cs
│ ├── ProcessSpec.cs
│ ├── Program.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ └── Resources.Designer.cs
│ ├── README.md
│ ├── Resources.resx
│ ├── assets
│ └── DotNetWatch.targets
│ └── dotnet-watch.csproj
├── test
├── Directory.Build.props
├── Microsoft.HttpRepl.Tests
│ ├── JsonVisitorTests.cs
│ └── Microsoft.HttpRepl.Tests.csproj
├── Microsoft.Repl.Tests
│ ├── Microsoft.Repl.Tests.csproj
│ └── ParserTests.cs
├── Shared
│ ├── TestConsole.cs
│ └── TestReporter.cs
├── dotnet-user-secrets.Tests
│ ├── InitCommandTest.cs
│ ├── MsBuildProjectFinderTest.cs
│ ├── SecretManagerTests.cs
│ ├── SetCommandTest.cs
│ ├── TemporaryFileProvider.cs
│ ├── UserSecretsTestFixture.cs
│ └── dotnet-user-secrets.Tests.csproj
├── dotnet-watch.FunctionalTests
│ ├── AppWithDepsTests.cs
│ ├── AwaitableProcess.cs
│ ├── DotNetWatcherTests.cs
│ ├── FileWatcherTests.cs
│ ├── GlobbingAppTests.cs
│ ├── NoDepsAppTests.cs
│ ├── Scenario
│ │ ├── ProjectToolScenario.cs
│ │ └── WatchableApp.cs
│ ├── TestProjects
│ │ ├── AppWithDeps
│ │ │ ├── AppWithDeps.csproj
│ │ │ └── Program.cs
│ │ ├── Dependency
│ │ │ ├── Dependency.csproj
│ │ │ └── Foo.cs
│ │ ├── GlobbingApp
│ │ │ ├── GlobbingApp.csproj
│ │ │ ├── Program.cs
│ │ │ ├── exclude
│ │ │ │ └── Baz.cs
│ │ │ └── include
│ │ │ │ └── Foo.cs
│ │ ├── KitchenSink
│ │ │ ├── KitchenSink.csproj
│ │ │ └── Program.cs
│ │ └── NoDepsApp
│ │ │ ├── NoDepsApp.csproj
│ │ │ └── Program.cs
│ └── dotnet-watch.FunctionalTests.csproj
└── dotnet-watch.Tests
│ ├── AssertEx.cs
│ ├── CommandLineOptionsTests.cs
│ ├── ConsoleReporterTests.cs
│ ├── MsBuildFileSetFactoryTest.cs
│ ├── ProgramTests.cs
│ ├── Utilities
│ ├── TemporaryCSharpProject.cs
│ ├── TemporaryDirectory.cs
│ └── TestProjectGraph.cs
│ └── dotnet-watch.Tests.csproj
├── tooling
├── Microsoft.VisualStudio.SecretManager.TestExtension
│ ├── Key.snk
│ ├── Microsoft.VisualStudio.SecretManager.TestExtension.csproj
│ ├── NotifyPropertyChanged.cs
│ ├── ProjectViewModel.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── RelayCommand.cs
│ ├── Resources
│ │ ├── SecretManagerTestCommand.png
│ │ └── SecretManagerTestPackage.ico
│ ├── SecretManagerTestCommand.cs
│ ├── SecretManagerTestControl.xaml
│ ├── SecretManagerTestControl.xaml.cs
│ ├── SecretManagerTestPackage.cs
│ ├── SecretManagerTestPackage.vsct
│ ├── SecretManagerTestWindow.cs
│ ├── SecretManagerViewModel.cs
│ ├── VSPackage.resx
│ ├── app.config
│ └── source.extension.vsixmanifest
└── Microsoft.VisualStudio.SecretManager
│ ├── Microsoft.VisualStudio.SecretManager.csproj
│ ├── ProjectLocalSecretsManager.cs
│ ├── Properties
│ └── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ ├── Resources.resx
│ ├── SecretManagerFactory.cs
│ ├── SecretStore.cs
│ ├── Sources
│ ├── ConfigurationPath.cs
│ ├── JsonConfigurationFileParser.cs
│ └── PathHelper.cs
│ └── source.extension.vsixmanifest
└── version.props
/.appveyor.yml:
--------------------------------------------------------------------------------
1 | init:
2 | - git config --global core.autocrlf true
3 | branches:
4 | only:
5 | - master
6 | - /^release\/.*$/
7 | - /^(.*\/)?ci-.*$/
8 | build_script:
9 | - ps: .\run.ps1 default-build
10 | clone_depth: 1
11 | environment:
12 | global:
13 | DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
14 | DOTNET_CLI_TELEMETRY_OPTOUT: 1
15 | test: 'off'
16 | deploy: 'off'
17 | os: Visual Studio 2017
18 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # EditorConfig is awesome:http://EditorConfig.org
2 |
3 | # top-most EditorConfig file
4 | root = true
5 |
6 | [*]
7 | indent_style = space
8 | charset = utf-8
9 | trim_trailing_whitespace = true
10 | insert_final_newline = true
11 |
12 | [*.cs]
13 | indent_size = 4
14 | dotnet_sort_system_directives_first = true:warning
15 |
16 | # Xml files
17 | [*.{csproj,config,props,targets,ruleset,config,resx,xml}]
18 | indent_size = 2
19 |
20 | [*.{json, yml}]
21 | indent_size = 2
22 |
23 | [*.{ps1,sh}]
24 | indent_size = 4
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.doc diff=astextplain
2 | *.DOC diff=astextplain
3 | *.docx diff=astextplain
4 | *.DOCX diff=astextplain
5 | *.dot diff=astextplain
6 | *.DOT diff=astextplain
7 | *.pdf diff=astextplain
8 | *.PDF diff=astextplain
9 | *.rtf diff=astextplain
10 | *.RTF diff=astextplain
11 |
12 | *.jpg binary
13 | *.png binary
14 | *.gif binary
15 |
16 | *.cs text=auto diff=csharp
17 | *.vb text=auto
18 | *.resx text=auto
19 | *.c text=auto
20 | *.cpp text=auto
21 | *.cxx text=auto
22 | *.h text=auto
23 | *.hxx text=auto
24 | *.py text=auto
25 | *.rb text=auto
26 | *.java text=auto
27 | *.html text=auto
28 | *.htm text=auto
29 | *.css text=auto
30 | *.scss text=auto
31 | *.sass text=auto
32 | *.less text=auto
33 | *.js text=auto
34 | *.lisp text=auto
35 | *.clj text=auto
36 | *.sql text=auto
37 | *.php text=auto
38 | *.lua text=auto
39 | *.m text=auto
40 | *.asm text=auto
41 | *.erl text=auto
42 | *.fs text=auto
43 | *.fsx text=auto
44 | *.hs text=auto
45 |
46 | *.csproj text=auto
47 | *.vbproj text=auto
48 | *.fsproj text=auto
49 | *.dbproj text=auto
50 | *.sln text=auto eol=crlf
51 |
52 | *.sh eol=lf
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | [Oo]bj/
2 | [Bb]in/
3 | TestResults/
4 | .nuget/
5 | _ReSharper.*/
6 | packages/
7 | artifacts/
8 | PublishProfiles/
9 | *.user
10 | *.suo
11 | *.cache
12 | *.docstates
13 | _ReSharper.*
14 | nuget.exe
15 | *net45.csproj
16 | *net451.csproj
17 | *k10.csproj
18 | *.psess
19 | *.vsp
20 | *.pidb
21 | *.userprefs
22 | *DS_Store
23 | *.ncrunchsolution
24 | *.*sdf
25 | *.ipch
26 | *.sln.ide
27 | project.lock.json
28 | .testPublish/
29 | .build/
30 | /.vs/
31 | .vscode/
32 | *.nuget.props
33 | *.nuget.targets
34 | .idea/
35 | .dotnet/
36 | global.json
37 | *.binlog
38 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: csharp
2 | sudo: false
3 | dist: trusty
4 | env:
5 | global:
6 | - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
7 | - DOTNET_CLI_TELEMETRY_OPTOUT: 1
8 | mono: none
9 | os:
10 | - linux
11 | - osx
12 | osx_image: xcode8.2
13 | addons:
14 | apt:
15 | packages:
16 | - libunwind8
17 | branches:
18 | only:
19 | - master
20 | - /^release\/.*$/
21 | - /^(.*\/)?ci-.*$/
22 | before_install:
23 | - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s
24 | /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
25 | /usr/local/lib/; fi
26 | script:
27 | - ./build.sh
28 |
--------------------------------------------------------------------------------
/.vsts-pipelines/builds/ci-internal.yml:
--------------------------------------------------------------------------------
1 | trigger:
2 | - master
3 | - release/*
4 |
5 | resources:
6 | repositories:
7 | - repository: buildtools
8 | type: git
9 | name: aspnet-BuildTools
10 | ref: refs/heads/master
11 |
12 | phases:
13 | - template: .vsts-pipelines/templates/project-ci.yml@buildtools
14 |
--------------------------------------------------------------------------------
/.vsts-pipelines/builds/ci-public.yml:
--------------------------------------------------------------------------------
1 | trigger:
2 | - master
3 | - release/*
4 |
5 | # See https://github.com/aspnet/BuildTools
6 | resources:
7 | repositories:
8 | - repository: buildtools
9 | type: github
10 | endpoint: DotNet-Bot GitHub Connection
11 | name: aspnet/BuildTools
12 | ref: refs/heads/master
13 |
14 | phases:
15 | - template: .vsts-pipelines/templates/project-ci.yml@buildtools
16 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | Contributing
2 | ======
3 |
4 | Information on contributing to this repo is in the [Contributing Guide](https://github.com/aspnet/Home/blob/master/CONTRIBUTING.md) in the Home repo.
5 |
--------------------------------------------------------------------------------
/Directory.Build.props:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | Microsoft .NET
12 | https://github.com/aspnet/DotNetTools
13 | git
14 | $(MSBuildThisFileDirectory)
15 | $(MSBuildThisFileDirectory)build\Key.snk
16 | true
17 | true
18 |
19 |
20 | false
21 | $(MSBuildThisFileDirectory)obj\$(MSBuildProjectName)\
22 | $(MSBuildThisFileDirectory)bin\$(MSBuildProjectName)\
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/Directory.Build.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 | $(MicrosoftNETCoreApp30PackageVersion)
4 | $(NETStandardLibrary20PackageVersion)
5 |
6 | 99.9
7 |
8 |
9 |
--------------------------------------------------------------------------------
/NuGet.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/NuGetPackageVerifier.json:
--------------------------------------------------------------------------------
1 | {
2 | "adx": {
3 | "rules": [
4 | "AdxVerificationCompositeRule"
5 | ],
6 | "packages": {
7 | "dotnet-watch": {
8 | "packageTypes": [
9 | "DotnetTool"
10 | ]
11 | },
12 | "dotnet-sql-cache": {
13 | "packageTypes": [
14 | "DotnetTool"
15 | ]
16 | },
17 | "dotnet-user-secrets": {
18 | "packageTypes": [
19 | "DotnetTool"
20 | ]
21 | },
22 | "dotnet-dev-certs": {
23 | "packageTypes": [
24 | "DotnetTool"
25 | ]
26 | },
27 | "Microsoft.AspNetCore.DeveloperCertificates.XPlat": {
28 | "Exclusions": {
29 | "DOC_MISSING": {
30 | "lib/netcoreapp3.0/Microsoft.AspNetCore.DeveloperCertificates.XPlat.dll": "Docs not required to shipoob package"
31 | }
32 | }
33 | }
34 | }
35 | },
36 | "Default": {
37 | "rules": [
38 | "DefaultCompositeRule"
39 | ]
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | DotNetTools [Archived]
2 | ======================
3 |
4 | **This GitHub project has been archived.** Ongoing development on this project can be found in .
5 |
6 | This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at .
7 |
8 | ## Projects
9 |
10 | The repository contains command-line tools for ASP.NET Core that are bundled* in the [.NET Core CLI](https://github.com/dotnet/cli).
11 | Follow the links below for more details on each tool.
12 |
13 | - [dotnet-watch](src/dotnet-watch/README.md)
14 | - [dotnet-user-secrets](src/dotnet-user-secrets/README.md)
15 | - [dotnet-sql-cache](src/dotnet-sql-cache/README.md)
16 | - [dotnet-dev-certs](src/dotnet-dev-certs/README.md)
17 |
18 | *\*This applies to .NET Core CLI 2.1.300-preview2 and up. For earlier versions of the CLI, these tools must be installed separately.*
19 |
20 | *For 2.0 CLI and earlier, see for details.*
21 |
22 | *For 2.1.300-preview1 CLI, see for details.*
23 |
24 | ## Usage
25 |
26 | The command line tools can be invoked as a subcommand of `dotnet`.
27 |
28 | ```sh
29 | dotnet watch
30 | dotnet user-secrets
31 | dotnet sql-cache
32 | dotnet dev-certs
33 | ```
34 |
35 | Add `--help` to see more details. For example,
36 |
37 | ```
38 | dotnet watch --help
39 | ```
40 |
--------------------------------------------------------------------------------
/build.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0run.ps1' default-build %*; exit $LASTEXITCODE"
3 |
--------------------------------------------------------------------------------
/build.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | set -euo pipefail
4 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
5 |
6 | # Call "sync" between "chmod" and execution to prevent "text file busy" error in Docker (aufs)
7 | chmod +x "$DIR/run.sh"; sync
8 | "$DIR/run.sh" default-build "$@"
9 |
--------------------------------------------------------------------------------
/build/Key.snk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aspnet/DotNetTools/da47b81a162ae6c9e3787752adb8bcd4a6c1cbe1/build/Key.snk
--------------------------------------------------------------------------------
/build/VSIX.props:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/build/dependencies.props:
--------------------------------------------------------------------------------
1 |
2 |
3 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
4 |
5 |
6 | 3.0.0-alpha1-20181026.5
7 | 3.0.0-alpha1-10657
8 | 3.0.0-alpha1-10657
9 | 3.0.0-alpha1-10657
10 | 3.0.0-alpha1-10664
11 | 3.0.0-alpha1-10657
12 | 3.0.0-preview1-26907-05
13 | 15.9.0
14 | 5.2.6
15 | 2.0.3
16 | 11.0.2
17 | 4.6.0-preview1-26907-04
18 | 4.6.0-preview1-26907-04
19 | 9.0.1
20 | 2.4.0
21 | 2.4.0
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/build/repo.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | Internal.AspNetCore.Universe.Lineup
11 | https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/build/repo.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Configuration=$(Configuration)NoVSIX
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/build/sources.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | $(DotNetRestoreSources)
6 |
7 | $(RestoreSources);
8 | https://dotnet.myget.org/F/dotnet-core/api/v3/index.json;
9 | https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json;
10 | https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json;
11 | https://vside.myget.org/F/vssdk/api/v3/index.json;
12 | https://vside.myget.org/F/devcore/api/v3/index.json
13 |
14 |
15 | $(RestoreSources);
16 | https://api.nuget.org/v3/index.json;
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/korebuild-lock.txt:
--------------------------------------------------------------------------------
1 | version:3.0.0-alpha1-20181026.5
2 | commithash:0c0410ef8b17d5177a05b50cb66f9ad89ce15e32
3 |
--------------------------------------------------------------------------------
/korebuild.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/master/tools/korebuild.schema.json",
3 | "channel": "master",
4 | "toolsets": {
5 | "visualstudio": {
6 | "required": [
7 | "windows"
8 | ],
9 | "includePrerelease": true,
10 | "versionRange": "[15.0.26730.03, 16.0)",
11 | "requiredWorkloads": [
12 | "Microsoft.VisualStudio.Component.VSSDK"
13 | ]
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/run.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0run.ps1' %*; exit $LASTEXITCODE"
3 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/Directory.Build.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/Directory.Build.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/LaunchAnyCommand/LaunchAnyCommand.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | netcoreapp3.0
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/LaunchAnyCommand/README.md:
--------------------------------------------------------------------------------
1 | Launch any command with dotnet-watch
2 | ====================================
3 |
4 | ## Prerequisites
5 |
6 | 1. Install .NET Core command line.
7 | 2. Install NodeJS.
8 |
9 | ## Usage
10 |
11 | Open a terminal to the directory containing this project.
12 |
13 | ```
14 | dotnet watch msbuild /t:RunMyNpmCommand
15 | ```
16 |
17 | Changing the .csproj file, or the say-hello.js file will cause dotnet-watch to re-run the 'RunMyNpmCommand' target in MyApp.csproj.
18 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/LaunchAnyCommand/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "any-command",
3 | "version": "0.0.0",
4 | "private": true,
5 | "scripts": {
6 | "custom": "node say-hello.js"
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/LaunchAnyCommand/say-hello.js:
--------------------------------------------------------------------------------
1 | console.log("Hello from Javascript");
2 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/README.md:
--------------------------------------------------------------------------------
1 | dotnet-watch samples
2 | ====================
3 |
4 | The samples in this folder show some ways to customize dotnet-watch. For full details on
5 | available settings and configuration, see the [README for the dotnet-watch](../../src/dotnet-watch/README.md) project.
6 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/WatchJavascriptFiles/Program.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) .NET Foundation. All rights reserved.
2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 |
4 | using System.IO;
5 | using Microsoft.AspNetCore.Builder;
6 | using Microsoft.AspNetCore.Hosting;
7 | using Microsoft.AspNetCore.Http;
8 |
9 | namespace WatchJavascriptFiles
10 | {
11 | public class Program
12 | {
13 | public static void Main(string[] args)
14 | {
15 | var host = new WebHostBuilder()
16 | .UseKestrel()
17 | .UseContentRoot(Directory.GetCurrentDirectory())
18 | .Configure(app =>
19 | app.Run(async (context) =>
20 | {
21 | await context.Response.WriteAsync("Hello World!");
22 | }))
23 | .Build();
24 |
25 | host.Run();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/WatchJavascriptFiles/README.md:
--------------------------------------------------------------------------------
1 | Watch JavaScript files with dotnet-watch
2 | ========================================
3 |
4 | ## Prerequisites
5 |
6 | Install .NET Core command line.
7 |
8 | ## Usage
9 |
10 | Open a terminal to the directory containing this project.
11 |
12 | ```
13 | dotnet watch run
14 | ```
15 |
16 | Changing the .csproj file, or \*.js file in wwwroot, or any \*.cs file will cause dotnet-watch to restart the website.
17 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/WatchJavascriptFiles/WatchJavascriptFiles.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/WatchJavascriptFiles/wwwroot/app.js:
--------------------------------------------------------------------------------
1 | document.title = "My awesome website";
2 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/WatchMultipleProjects/README.md:
--------------------------------------------------------------------------------
1 | Watch multiple projects with dotnet-watch
2 | =========================================
3 |
4 | ## Prerequisites
5 |
6 | Install .NET Core command line.
7 |
8 | ## Usage
9 |
10 | Open a terminal to the directory containing this project.
11 |
12 | ```
13 | dotnet watch msbuild /t:TestAndRun
14 | ```
15 |
16 | The "TestAndRun" target in watch.proj will execute "dotnet test" on Test.csproj and then launch the website by calling "dotnet run" on Web.csproj.
17 |
18 | Changing any \*.cs file in Test/ or Web/, any \*.csproj file, or watch.proj, will cause dotnet-watch to relaunch the "TestAndRun" target from watch.proj.
19 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/WatchMultipleProjects/Test/Test.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/WatchMultipleProjects/Test/UnitTest1.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) .NET Foundation. All rights reserved.
2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 |
4 | using System;
5 | using Xunit;
6 |
7 | namespace Test
8 | {
9 | public class UnitTest1
10 | {
11 | [Fact]
12 | public void Test1()
13 | {
14 | Assert.True(true);
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/WatchMultipleProjects/Web/Program.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) .NET Foundation. All rights reserved.
2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 |
4 | using System.IO;
5 | using Microsoft.AspNetCore.Builder;
6 | using Microsoft.AspNetCore.Hosting;
7 | using Microsoft.AspNetCore.Http;
8 |
9 | namespace Web
10 | {
11 | public class Program
12 | {
13 | public static void Main(string[] args)
14 | {
15 | var host = new WebHostBuilder()
16 | .UseKestrel()
17 | .UseContentRoot(Directory.GetCurrentDirectory())
18 | .Configure(app =>
19 | app.Run(async (context) =>
20 | {
21 | await context.Response.WriteAsync("Hello World!");
22 | }))
23 | .Build();
24 |
25 | host.Run();
26 | }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/WatchMultipleProjects/Web/Web.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.0
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/samples/dotnet-watch/WatchMultipleProjects/watch.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | netcoreapp3.0
4 | false
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/shared/CliContext.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) .NET Foundation. All rights reserved.
2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 |
4 | using System;
5 |
6 | namespace Microsoft.Extensions.Tools.Internal
7 | {
8 | public static class CliContext
9 | {
10 | ///
11 | /// dotnet -d|--diagnostics subcommand
12 | ///
13 | ///
14 | public static bool IsGlobalVerbose()
15 | {
16 | bool.TryParse(Environment.GetEnvironmentVariable("DOTNET_CLI_CONTEXT_VERBOSE"), out bool globalVerbose);
17 | return globalVerbose;
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/shared/CommandLineApplicationExtensions.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) .NET Foundation. All rights reserved.
2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 |
4 | using System;
5 | using System.Reflection;
6 |
7 | namespace Microsoft.Extensions.CommandLineUtils
8 | {
9 | internal static class CommandLineApplicationExtensions
10 | {
11 | public static CommandOption HelpOption(this CommandLineApplication app)
12 | => app.HelpOption("-?|-h|--help");
13 |
14 | public static CommandOption VerboseOption(this CommandLineApplication app)
15 | => app.Option("-v|--verbose", "Show verbose output", CommandOptionType.NoValue, inherited: true);
16 |
17 | public static void OnExecute(this CommandLineApplication app, Action action)
18 | => app.OnExecute(() =>
19 | {
20 | action();
21 | return 0;
22 | });
23 |
24 | public static void VersionOptionFromAssemblyAttributes(this CommandLineApplication app, Assembly assembly)
25 | => app.VersionOption("--version", GetInformationalVersion(assembly));
26 |
27 | private static string GetInformationalVersion(Assembly assembly)
28 | {
29 | var attribute = assembly.GetCustomAttribute();
30 |
31 | var versionAttribute = attribute == null
32 | ? assembly.GetName().Version.ToString()
33 | : attribute.InformationalVersion;
34 |
35 | return versionAttribute;
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/shared/ConsoleReporter.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) .NET Foundation. All rights reserved.
2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 |
4 | using System;
5 | using System.IO;
6 |
7 | namespace Microsoft.Extensions.Tools.Internal
8 | {
9 | public class ConsoleReporter : IReporter
10 | {
11 | private object _writeLock = new object();
12 |
13 | public ConsoleReporter(IConsole console)
14 | : this(console, verbose: false, quiet: false)
15 | { }
16 |
17 | public ConsoleReporter(IConsole console, bool verbose, bool quiet)
18 | {
19 | Ensure.NotNull(console, nameof(console));
20 |
21 | Console = console;
22 | IsVerbose = verbose;
23 | IsQuiet = quiet;
24 | }
25 |
26 | protected IConsole Console { get; }
27 | public bool IsVerbose { get; set; }
28 | public bool IsQuiet { get; set; }
29 |
30 | protected virtual void WriteLine(TextWriter writer, string message, ConsoleColor? color)
31 | {
32 | lock (_writeLock)
33 | {
34 | if (color.HasValue)
35 | {
36 | Console.ForegroundColor = color.Value;
37 | }
38 |
39 | writer.WriteLine(message);
40 |
41 | if (color.HasValue)
42 | {
43 | Console.ResetColor();
44 | }
45 | }
46 | }
47 |
48 | public virtual void Error(string message)
49 | => WriteLine(Console.Error, message, ConsoleColor.Red);
50 | public virtual void Warn(string message)
51 | => WriteLine(Console.Out, message, ConsoleColor.Yellow);
52 |
53 | public virtual void Output(string message)
54 | {
55 | if (IsQuiet)
56 | {
57 | return;
58 | }
59 | WriteLine(Console.Out, message, color: null);
60 | }
61 |
62 | public virtual void Verbose(string message)
63 | {
64 | if (!IsVerbose)
65 | {
66 | return;
67 | }
68 |
69 | WriteLine(Console.Out, message, ConsoleColor.DarkGray);
70 | }
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/shared/DebugHelper.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) .NET Foundation. All rights reserved.
2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 |
4 | using System;
5 | using System.Diagnostics;
6 | using System.Linq;
7 |
8 | namespace Microsoft.Extensions.Tools.Internal
9 | {
10 | public static class DebugHelper
11 | {
12 | [Conditional("DEBUG")]
13 | public static void HandleDebugSwitch(ref string[] args)
14 | {
15 | if (args.Length > 0 && string.Equals("--debug", args[0], StringComparison.OrdinalIgnoreCase))
16 | {
17 | args = args.Skip(1).ToArray();
18 | Console.WriteLine("Waiting for debugger to attach. Press ENTER to continue");
19 | Console.WriteLine($"Process ID: {Process.GetCurrentProcess().Id}");
20 | Console.ReadLine();
21 | }
22 | }
23 | }
24 | }
--------------------------------------------------------------------------------
/shared/Ensure.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) .NET Foundation. All rights reserved.
2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 |
4 | using System;
5 |
6 | namespace Microsoft.Extensions.Tools.Internal
7 | {
8 | internal static class Ensure
9 | {
10 | public static T NotNull(T obj, string paramName)
11 | where T : class
12 | {
13 | if (obj == null)
14 | {
15 | throw new ArgumentNullException(paramName);
16 | }
17 | return obj;
18 | }
19 |
20 | public static string NotNullOrEmpty(string obj, string paramName)
21 | {
22 | if (string.IsNullOrEmpty(obj))
23 | {
24 | throw new ArgumentException("Value cannot be null or an empty string.", paramName);
25 | }
26 | return obj;
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/shared/IConsole.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) .NET Foundation. All rights reserved.
2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 |
4 | using System;
5 | using System.IO;
6 |
7 | namespace Microsoft.Extensions.Tools.Internal
8 | {
9 | public interface IConsole
10 | {
11 | event ConsoleCancelEventHandler CancelKeyPress;
12 | TextWriter Out { get; }
13 | TextWriter Error { get; }
14 | TextReader In { get; }
15 | bool IsInputRedirected { get; }
16 | bool IsOutputRedirected { get; }
17 | bool IsErrorRedirected { get; }
18 | ConsoleColor ForegroundColor { get; set; }
19 | void ResetColor();
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/shared/IReporter.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) .NET Foundation. All rights reserved.
2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 |
4 | namespace Microsoft.Extensions.Tools.Internal
5 | {
6 | public interface IReporter
7 | {
8 | void Verbose(string message);
9 | void Output(string message);
10 | void Warn(string message);
11 | void Error(string message);
12 | }
13 | }
--------------------------------------------------------------------------------
/shared/NullReporter.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) .NET Foundation. All rights reserved.
2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 |
4 | namespace Microsoft.Extensions.Tools.Internal
5 | {
6 | public class NullReporter : IReporter
7 | {
8 | private NullReporter()
9 | { }
10 |
11 | public static IReporter Singleton { get; } = new NullReporter();
12 |
13 | public void Verbose(string message)
14 | { }
15 |
16 | public void Output(string message)
17 | { }
18 |
19 | public void Warn(string message)
20 | { }
21 |
22 | public void Error(string message)
23 | { }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/shared/PhysicalConsole.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) .NET Foundation. All rights reserved.
2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 |
4 | using System;
5 | using System.IO;
6 |
7 | namespace Microsoft.Extensions.Tools.Internal
8 | {
9 | public class PhysicalConsole : IConsole
10 | {
11 | private PhysicalConsole()
12 | {
13 | Console.CancelKeyPress += (o, e) =>
14 | {
15 | CancelKeyPress?.Invoke(o, e);
16 | };
17 | }
18 |
19 | public static IConsole Singleton { get; } = new PhysicalConsole();
20 |
21 | public event ConsoleCancelEventHandler CancelKeyPress;
22 | public TextWriter Error => Console.Error;
23 | public TextReader In => Console.In;
24 | public TextWriter Out => Console.Out;
25 | public bool IsInputRedirected => Console.IsInputRedirected;
26 | public bool IsOutputRedirected => Console.IsOutputRedirected;
27 | public bool IsErrorRedirected => Console.IsErrorRedirected;
28 | public ConsoleColor ForegroundColor
29 | {
30 | get => Console.ForegroundColor;
31 | set => Console.ForegroundColor = value;
32 | }
33 |
34 | public void ResetColor() => Console.ResetColor();
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/src/Directory.Build.props:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/src/Directory.Build.targets:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/src/Microsoft.AspNetCore.DeveloperCertificates.XPlat/CertificateGenerator.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using Microsoft.AspNetCore.Certificates.Generation;
3 |
4 | namespace Microsoft.AspNetCore.DeveloperCertificates.XPlat
5 | {
6 | public static class CertificateGenerator
7 | {
8 | public static void GenerateAspNetHttpsCertificate()
9 | {
10 | var manager = new CertificateManager();
11 | var now = DateTimeOffset.Now;
12 | manager.EnsureAspNetCoreHttpsDevelopmentCertificate(now, now.AddYears(1));
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/Microsoft.AspNetCore.DeveloperCertificates.XPlat/Microsoft.AspNetCore.DeveloperCertificates.XPlat.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp3.0
5 | Package for the CLI first run experience.
6 | $(DefineConstants);XPLAT
7 | aspnet;cli
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/src/Microsoft.HttpRepl/AggregateDirectoryStructure.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) .NET Foundation. All rights reserved.
2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 |
4 | using System;
5 | using System.Collections.Generic;
6 | using System.Linq;
7 |
8 | namespace Microsoft.HttpRepl
9 | {
10 | public class AggregateDirectoryStructure : IDirectoryStructure
11 | {
12 | private readonly IDirectoryStructure _first;
13 | private readonly IDirectoryStructure _second;
14 |
15 | public AggregateDirectoryStructure(IDirectoryStructure first, IDirectoryStructure second)
16 | {
17 | _first = first;
18 | _second = second;
19 | }
20 |
21 | public IEnumerable DirectoryNames
22 | {
23 | get
24 | {
25 | HashSet values = new HashSet(StringComparer.OrdinalIgnoreCase);
26 | values.UnionWith(_first.DirectoryNames);
27 | values.UnionWith(_second.DirectoryNames);
28 | return values.OrderBy(x => x, StringComparer.OrdinalIgnoreCase);
29 | }
30 | }
31 |
32 | public IDirectoryStructure Parent => _first.Parent ?? _second.Parent;
33 |
34 | public IDirectoryStructure GetChildDirectory(string name)
35 | {
36 | return new AggregateDirectoryStructure(_first.GetChildDirectory(name), _second.GetChildDirectory(name));
37 | }
38 |
39 | public IRequestInfo RequestInfo => _first.RequestInfo ?? _second.RequestInfo;
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/src/Microsoft.HttpRepl/Commands/ClearCommand.cs:
--------------------------------------------------------------------------------
1 | // Copyright (c) .NET Foundation. All rights reserved.
2 | // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3 |
4 | using System;
5 | using System.Collections.Generic;
6 | using System.Threading;
7 | using System.Threading.Tasks;
8 | using Microsoft.Repl;
9 | using Microsoft.Repl.Commanding;
10 | using Microsoft.Repl.Parsing;
11 |
12 | namespace Microsoft.HttpRepl.Commands
13 | {
14 | public class ClearCommand : ICommand