48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
///////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Microsoft Research Singularity
|
|
//
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//
|
|
// File: DefaultCommand.sg
|
|
//
|
|
// Note:
|
|
//
|
|
|
|
using System;
|
|
|
|
using Microsoft.SingSharp;
|
|
using Microsoft.SingSharp.Reflection;
|
|
|
|
using Microsoft.Singularity.Applications;
|
|
using Microsoft.Singularity.Channels;
|
|
using Microsoft.Singularity.Configuration;
|
|
using Microsoft.Singularity.Directory;
|
|
using Microsoft.Singularity.Io;
|
|
|
|
using Microsoft.Singularity.Services.RamDisk.Contracts;
|
|
|
|
[assembly: Transform(typeof(ApplicationResourceTransform))]
|
|
|
|
namespace Microsoft.Singularity.Services.RamDisk.RamDiskControl
|
|
{
|
|
[ConsoleCategory(HelpMessage = "Show help for RAM disk control program.",
|
|
DefaultAction = true)]
|
|
internal class DefaultCommand
|
|
{
|
|
[InputEndpoint("data")]
|
|
public readonly TRef<UnicodePipeContract.Imp:READY> Stdin;
|
|
|
|
[OutputEndpoint("data")]
|
|
public readonly TRef<UnicodePipeContract.Imp:READY> Stdout;
|
|
|
|
internal DefaultCommand() {}
|
|
|
|
internal int AppMain()
|
|
{
|
|
Console.WriteLine("Specify a command to execute, or '-?' for a list of commands.");
|
|
return 0;
|
|
}
|
|
}
|
|
}
|