You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
program.add_description( "A minimal LZAV archive tool for fast compression and decompression. Supports sharded compression for efficient random access to large files. Use without flags for smart mode: extracts existing archives or creates new ones automatically." );
73
+
74
+
program.add_argument( "-c" )
75
+
.help( "Create archive" )
76
+
.default_value( false )
77
+
.implicit_value( true );
78
+
79
+
program.add_argument( "-cs" )
80
+
.help( "Create archive (sharded compression)" )
81
+
.default_value( false )
82
+
.implicit_value( true );
90
83
91
-
if ( argc < 2 )
84
+
program.add_argument( "-a" )
85
+
.help( "Append to archive" )
86
+
.default_value( false )
87
+
.implicit_value( true );
88
+
89
+
program.add_argument( "-as" )
90
+
.help( "Append to archive (sharded)" )
91
+
.default_value( false )
92
+
.implicit_value( true );
93
+
94
+
program.add_argument( "-x" )
95
+
.help( "Extract archive" )
96
+
.default_value( false )
97
+
.implicit_value( true );
98
+
99
+
program.add_argument( "-l" )
100
+
.help( "List archive contents" )
101
+
.default_value( false )
102
+
.implicit_value( true );
103
+
104
+
program.add_argument( "-v" )
105
+
.help( "Verify archive integrity" )
106
+
.default_value( false )
107
+
.implicit_value( true );
108
+
109
+
program.add_argument( "archive" )
110
+
.help( "archive file path" );
111
+
112
+
program.add_argument( "files" )
113
+
.remaining()
114
+
.help( "input files or directories" );
115
+
116
+
program.add_epilog( "Examples:\n"
117
+
" vark data.vark Extract archive (smart mode)\n"
118
+
" vark -c game.vark assets/ Create archive from directory\n"
119
+
" vark -cs textures.vark images/ Create with sharded compression\n"
120
+
" vark -a game.vark newfile.dat Append file to existing archive\n"
0 commit comments