mirror of
https://github.com/MacDownApp/macdown.git
synced 2026-05-17 12:40:37 +00:00
23 lines
509 B
Objective-C
23 lines
509 B
Objective-C
//
|
|
// MPArgumentProcessor.h
|
|
// MacDown
|
|
//
|
|
// Created by Tzu-ping Chung on 02/12.
|
|
// Copyright (c) 2014 Tzu-ping Chung . All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface MPArgumentProcessor : NSObject
|
|
|
|
- (instancetype)init;
|
|
|
|
@property (nonatomic, assign, readonly) BOOL printsHelp;
|
|
@property (nonatomic, assign, readonly) BOOL printsVersion;
|
|
@property (nonatomic, strong, readonly) NSArray *arguments;
|
|
|
|
- (void)printHelp:(BOOL)shouldExit;
|
|
- (void)printVersion:(BOOL)shouldExit;
|
|
|
|
@end
|