Skip to content
This repository has been archived by the owner on Nov 9, 2018. It is now read-only.

structure rewrite #31

Merged
merged 5 commits into from
May 9, 2017
Merged

structure rewrite #31

merged 5 commits into from
May 9, 2017

Conversation

NikkyAI
Copy link
Owner

@NikkyAI NikkyAI commented May 9, 2017

make every instance use a minecraft folder
closes #27

make every instance use a minecraft folder
@NikkyAI NikkyAI requested a review from copygirl May 9, 2017 00:01
@NikkyAI NikkyAI force-pushed the feature/structure-rewrite branch from afde899 to 2ca3e8a Compare May 9, 2017 00:27
@NikkyAI NikkyAI mentioned this pull request May 9, 2017
NikkyAI added a commit that referenced this pull request May 9, 2017
NikkyAI added a commit that referenced this pull request May 9, 2017
NikkyAI added a commit that referenced this pull request May 9, 2017
var argType = Argument("type",
"The type of instance can be 'Vanilla', 'Server' or 'MultiMC'");
var argName = Argument("name",
"The name of the pack");
var argDirectory = Argument("[directory]",
Copy link
Collaborator

@copygirl copygirl May 9, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the directory argument be removed (and we'll just use the name instead)?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well that would remove some complications

var argDirectory = Argument("[directory]",
"The directory to initialize the pack in. Created if necessary.");

var optName = Option("-n | --name",
"Sets the pack name", CommandOptionType.SingleValue);
var optDescription = Option("-d | --description",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I.. guess the description and authors should be removed. Whoever uses init command will edit the config file manually anyway.

@@ -14,6 +14,10 @@ public interface IInstanceHandler
/// the specified simplified (safe) instance / folder name. </summary>
string GetInstancePath(string instanceName);

/// <summary> Gets the full path of an instance for this type with
/// the specified simplified (safe) instance / folder name. </summary>
string GetInstancePath(string instanceName, string basedir);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the old one still used?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well all ues of the old one could be changed by passing in the current working directory

@NikkyAI
Copy link
Owner Author

NikkyAI commented May 9, 2017

ping #28 for changes in cli arguments and options

NikkyAI added a commit that referenced this pull request May 9, 2017
@NikkyAI NikkyAI merged commit 1aa9b15 into master May 9, 2017
@NikkyAI NikkyAI deleted the feature/structure-rewrite branch May 9, 2017 17:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Discussion: file and folder structure
2 participants