Skip to content

Commit e2997e9

Browse files
authored
Dime.Scheduler Cloud (#37)
1 parent ab10404 commit e2997e9

File tree

111 files changed

+381
-348
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+381
-348
lines changed

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</p>
1414
<h1 align="center">Dime.Scheduler CLI</h1>
1515

16-
Connect with Dime.Scheduler through a .NET Tool. Check out the [📚 wiki](https://github.com/dime-scheduler/cli/wiki) for all the information on the CLI.
16+
Connect with Dime.Scheduler through the CLI. Check out the [📚 docs](https://docs.dimescheduler.com/develop/cli/intro) for all the information on the CLI.
1717

1818
## Installation
1919

@@ -36,22 +36,18 @@ To clone and run this application, you'll need Visual Studio 16.7 or higher. The
3636
The following example adds or updates a category in Dime.Scheduler:
3737

3838
```cmd
39-
dimescheduler category
40-
-a
41-
-u https://mydimescheduler.io
42-
43-
-p mystrongpassword
44-
-n Service order status
45-
-h #32a852
39+
dimescheduler category add -k "MYAPIKEY" -n 'Service order 123' -h #32a852
4640
```
4741

42+
To specify an environment, add `--env` followed by either `Dev`, `Test`, or `Staging`.
43+
4844
The entry point of the global tool is the `dimescheduler` command.
4945

5046
<img src="assets/cmd.png" />
5147

52-
See the repo's [📚 wiki](https://github.com/dime-scheduler/cli/wiki) for a list of all commands and their parameters.
48+
See the [📚 docs](https://docs.dimescheduler.com/develop/cli/intro) for a list of all commands and their parameters.
5349

54-
To see the parameters of a command, simply run the `dimescheduler` + `entity` + `--help` command and you'll get all the information you need:
50+
To see the parameters of a command, simply run the `dimescheduler` + `verb` + `entity` + `--help` command and you'll get all the information you need:
5551

5652
<img src="assets/cmd-command.png" />
5753

src/cli/Commands/ActionUriCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using Dime.Scheduler.CLI.Options;
2-
using Dime.Scheduler.Sdk.Import;
2+
using Dime.Scheduler.Entities;
33

44
namespace Dime.Scheduler.CLI.Commands
55
{
66
public class ActionUriCommand :
7-
ImportCommand<ActionUriOptions, ActionUri>,
7+
Command<ActionUriOptions, ActionUri>,
88
ICommand<ActionUriOptions>
99
{
1010
protected override string WriteIntro(ActionUriOptions options) => $"Adding action URI.";

src/cli/Commands/AppointmentCategoryCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using Dime.Scheduler.CLI.Options;
2-
using Dime.Scheduler.Sdk.Import;
2+
using Dime.Scheduler.Entities;
33

44
namespace Dime.Scheduler.CLI.Commands
55
{
66
public class AppointmentCategoryCommand :
7-
ImportCommand<AppointmentCategoryOptions, AppointmentCategory>,
7+
Command<AppointmentCategoryOptions, AppointmentCategory>,
88
ICommand<AppointmentCategoryOptions>
99
{
1010
protected override string WriteIntro(AppointmentCategoryOptions options)

src/cli/Commands/AppointmentCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using Dime.Scheduler.CLI.Options;
2-
using Dime.Scheduler.Sdk.Import;
2+
using Dime.Scheduler.Entities;
33

44
namespace Dime.Scheduler.CLI.Commands
55
{
66
public class AppointmentCommand :
7-
ImportCommand<AppointmentOptions, Appointment>,
7+
Command<AppointmentOptions, Appointment>,
88
ICommand<AppointmentOptions>
99
{
1010
protected override string WriteIntro(AppointmentOptions options)

src/cli/Commands/AppointmentContainerCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using Dime.Scheduler.CLI.Options;
2-
using Dime.Scheduler.Sdk.Import;
2+
using Dime.Scheduler.Entities;
33

44
namespace Dime.Scheduler.CLI.Commands
55
{
66
public class AppointmentContainerCommand :
7-
ImportCommand<AppointmentContainerOptions, AppointmentContainer>,
7+
Command<AppointmentContainerOptions, AppointmentContainer>,
88
ICommand<AppointmentContainerOptions>
99
{
1010
protected override string WriteIntro(AppointmentContainerOptions options)

src/cli/Commands/AppointmentContentCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using Dime.Scheduler.CLI.Options;
2-
using Dime.Scheduler.Sdk.Import;
2+
using Dime.Scheduler.Entities;
33

44
namespace Dime.Scheduler.CLI.Commands
55
{
66
public class AppointmentContentCommand :
7-
ImportCommand<AppointmentContentOptions, AppointmentContent>,
7+
Command<AppointmentContentOptions, AppointmentContent>,
88
ICommand<AppointmentContentOptions>
99
{
1010
protected override string WriteIntro(AppointmentContentOptions options)

src/cli/Commands/AppointmentImportanceCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using Dime.Scheduler.CLI.Options;
2-
using Dime.Scheduler.Sdk.Import;
2+
using Dime.Scheduler.Entities;
33

44
namespace Dime.Scheduler.CLI.Commands
55
{
66
public class AppointmentImportanceCommand :
7-
ImportCommand<AppointmentImportanceOptions, AppointmentImportance>,
7+
Command<AppointmentImportanceOptions, AppointmentImportance>,
88
ICommand<AppointmentImportanceOptions>
99
{
1010
protected override string WriteIntro(AppointmentImportanceOptions options)

src/cli/Commands/AppointmentLockedCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using Dime.Scheduler.CLI.Options;
2-
using Dime.Scheduler.Sdk.Import;
2+
using Dime.Scheduler.Entities;
33

44
namespace Dime.Scheduler.CLI.Commands
55
{
66
public class AppointmentLockedCommand :
7-
ImportCommand<AppointmentLockedOptions, AppointmentLocked>,
7+
Command<AppointmentLockedOptions, AppointmentLocked>,
88
ICommand<AppointmentLockedOptions>
99
{
1010
protected override string WriteIntro(AppointmentLockedOptions options)

src/cli/Commands/AppointmentPlanningQuantityCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using Dime.Scheduler.CLI.Options;
2-
using Dime.Scheduler.Sdk.Import;
2+
using Dime.Scheduler.Entities;
33

44
namespace Dime.Scheduler.CLI.Commands
55
{
66
public class AppointmentPlanningQuantityCommand :
7-
ImportCommand<AppointmentPlanningQuantityOptions, AppointmentPlanningQuantity>,
7+
Command<AppointmentPlanningQuantityOptions, AppointmentPlanningQuantity>,
88
ICommand<AppointmentPlanningQuantityOptions>
99
{
1010
protected override string WriteIntro(AppointmentPlanningQuantityOptions options)

src/cli/Commands/AppointmentTimeMarkerCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
using Dime.Scheduler.CLI.Options;
2-
using Dime.Scheduler.Sdk.Import;
2+
using Dime.Scheduler.Entities;
33

44
namespace Dime.Scheduler.CLI.Commands
55
{
66
public class AppointmentTimeMarkerCommand :
7-
ImportCommand<AppointmentTimeMarkerOptions, AppointmentTimeMarker>,
7+
Command<AppointmentTimeMarkerOptions, AppointmentTimeMarker>,
88
ICommand<AppointmentTimeMarkerOptions>
99
{
1010
protected override string WriteIntro(AppointmentTimeMarkerOptions options)

0 commit comments

Comments
 (0)