24 Commits

Author SHA1 Message Date
44bc63d17d update(conventions): extend windows conventions to show more capability. 2025-10-07 02:30:31 +04:00
74fd9b8a25 docs: update TODO.md about fixing the display help command. 2025-10-07 02:09:22 +04:00
fea5042af7 feat(convention) add windows style argument conventions. 2025-10-07 02:08:25 +04:00
1a62552ee0 docs: update TODO.md with project structuring notes 2025-10-07 01:38:15 +04:00
ef3ce5ef8c feat(windows_parser) implement windows parser. 2025-10-07 01:32:18 +04:00
6b324f554e refactor(linux_parser) add missing definition guard to prevent cascading. it shouldn't be a problem since there's pragma once, but better safe than sorry. 2025-10-07 01:31:30 +04:00
e699db4fe7 refactor(traits) add missing import so MSVC does not complain. 2025-10-07 01:30:48 +04:00
f4563fd47b refactor(parser): improve code style and modernize macos parser
- Remove unnecessary whitespace in argparse.hpp
- Modernize macos_parser.hpp with if-initializer
- Clean up includes and add [[nodiscard]] attributes
- Add .idea files to gitignore
2025-10-06 16:00:15 +04:00
cad569de25 feat(parser): implement on-complete callback functionality
Add on_complete event handler to trigger actions after argument parsing completes
Move grep logic to separate function and register it as a completion callback
Update argument getters and help text generation to be const methods
2025-10-06 11:17:14 +04:00
5f65eca713 feat(argument_parser): add vector parsing support for int and string types
Implement parser traits for vector<int> and vector<string> to handle comma-separated values
Add corresponding argument handling in main to demonstrate usage
2025-10-06 04:52:20 +04:00
77638ce554 refactor(argument_parser): simplify grep implementation and use regex
Replace shared_ptr state management with direct function call
Add regex support for pattern matching
Remove unused test_store argument
2025-10-06 04:46:29 +04:00
5a4ed63463 docs: update TODO.md with implementation notes
Add implementation details for on_parse_done callbacks and positional arguments
2025-10-06 04:15:33 +04:00
43a38c2794 feat: add point argument handling to parser
Add support for handling Point type arguments in the argument parser. The change includes adding a new point argument and corresponding output handling in main.
2025-10-06 04:12:35 +04:00
d30105abe1 refactor(argument_parser): improve argument handling and cleanup code
- Add new template method for argument addition with type
- Handle optional values more safely in get_optional
- Remove commented test code from main.cpp
2025-10-06 04:09:15 +04:00
8437a00c6b feat(parser): add argument value storage and retrieval
- Implement stored_arguments map to store argument values
- Add get_optional method to retrieve stored values
- Add helper methods for creating parametered and non-parametered actions
- Refactor argument adding logic into smaller methods
- Update main.cpp to demonstrate new storage functionality
2025-10-06 04:06:16 +04:00
9750152dca docs: add TODO.md for parser callback feature 2025-10-04 01:14:32 +04:00
302558ffc7 refactor(parser): remove macos specific crt_externs header from faker 2025-10-04 01:05:49 +04:00
6c3adc3dda refactor(parser): replace variant-based actions with polymorphic interface
Simplify action handling by introducing a polymorphic base class for actions
Remove std::variant usage and improve type safety with proper cloning
Clean up unused includes and test code in main.cpp
2025-10-04 00:33:27 +04:00
179f5e5d1b better type safety for action types. 2025-10-04 00:12:23 +04:00
ebbf3983de feat(parser): add platform-specific parsers and argument conventions
Implement platform-specific parsers for Windows, Linux, and macOS
Add GNU argument convention implementations
Create fake parser for testing purposes
Update CMakeLists to include new headers
2025-10-03 23:56:54 +04:00
Abdüssamet ERSOYLU
ef0a0c06f8 Update argument_parser.hpp 2025-07-02 16:03:16 +04:00
d9944e2927 remove unneccessary folders 2025-06-24 18:46:31 +04:00
Abdüssamet ERSOYLU
e02bf8a5b2 Create LICENSE 2025-06-24 18:45:46 +04:00
5ff911f351 first 2025-06-24 18:35:50 +04:00