add cli parsing for remove strings

This commit is contained in:
2024-08-22 17:37:28 +07:00
parent d11ef20f4a
commit d534d62f5e
4 changed files with 73 additions and 32 deletions

View File

@ -0,0 +1,21 @@
package action
import (
. "ios-wrapper/internal/wrapper/ofile"
)
type removeStrings struct{}
func (action *removeStrings) withMacho(mf *MachoFile) error {
mf.Context().RemoveStrings()
return nil
}
func (action *removeStrings) withFat(ff *FatFile) error {
return defaultWithFat(action, ff)
}
func NewRemoveStringsAction() *removeStrings {
return &removeStrings{}
}