This repository was archived by the owner on Feb 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHelpInformation.cs
More file actions
49 lines (45 loc) · 1.71 KB
/
HelpInformation.cs
File metadata and controls
49 lines (45 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
using System;
using System.Collections.Generic;
using System.Text;
namespace BoxFileLoader
{
public static class HelpInformation
{
public static bool Init(string[] args)
{
if (args.Length != 4)
{
Console.WriteLine("This takes a class list and creates folders in Box. Each folder is the netid of the student and each of these folders contains 'Assignments' and 'Submissions'");
Console.WriteLine("Parameter 2: the box folder name");
Console.WriteLine("Parameter 3: the file name of the class list");
Console.WriteLine("Parameter 4: the file name you want the end user to see");
return false;
}
return true;
}
public static void Intro()
{
Console.WriteLine("This has three main settings: 'init', 'lock', 'unlock'. These are the first parameter of the command line. You can enter this information ('BoxFileLoader.exe init') to see more details on how to use each function.");
}
public static bool Lock(string[] args)
{
if (args.Length != 2)
{
Console.WriteLine("This locks all the submissions folder");
Console.WriteLine("Parameter 2: the box folder name");
return false;
}
return true;
}
public static bool Unlock(string[] args)
{
if (args.Length != 2)
{
Console.WriteLine("This unlocks all the submissions folder");
Console.WriteLine("Parameter 2: the box folder name");
return false;
}
return true;
}
}
}